FakeAuthenticator

play.silhouette.test.FakeAuthenticator
See theFakeAuthenticator companion class

A fake authenticator factory.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[E <: Env](loginInfo: LoginInfo)(implicit env: Environment[E], requestHeader: RequestHeader): A[E]

Creates a new fake authenticator for the given authenticator type.

Creates a new fake authenticator for the given authenticator type.

Type parameters

E

The type of the environment,

Value parameters

env

The Silhouette environment.

loginInfo

The login info for which the authenticator should be created.

requestHeader

The request header.

Attributes

Returns

A authenticator instance.