securesocial.core

authenticator

package authenticator

Visibility
  1. Public
  2. All

Type Members

  1. trait Authenticator[U] extends AnyRef

    An Authenticator.

    An Authenticator. Instances of this trait are used to track authenticated users

    U

    the user object type

  2. trait AuthenticatorBuilder[U] extends AnyRef

    An AuthenticatorBuilder.

    An AuthenticatorBuilder. It helps to create instances of an Authenticator and to parse them from incoming requests.

    U

    the user object type

  3. abstract class AuthenticatorStore[A <: Authenticator[_]] extends AnyRef

    Defines a backing store for Authenticator instances

    Defines a backing store for Authenticator instances

    A

    the Authenticator type the store manages

  4. case class CookieAuthenticator[U](id: String, user: U, expirationDate: DateTime, lastUsed: DateTime, creationDate: DateTime, store: AuthenticatorStore[CookieAuthenticator[U]]) extends StoreBackedAuthenticator[U, CookieAuthenticator[U]] with Product with Serializable

    A Cookie based authenticator.

    A Cookie based authenticator. This authenticator puts an id an a cookie that is then used to track authenticated users. Since the cookie only has the id for this authenticator the rest of the data is stored using an instance of the AuthenticatorStore.

    U

    the user type (defined by the application using the module)

    id

    the authenticator id

    user

    the user this authenticator is associated with

    expirationDate

    the expiration date

    lastUsed

    the last time the authenticator was used

    creationDate

    the authenticator creation time

    store

    the authenticator store where instances of this authenticator are persisted

    See also

    RuntimeEnvironment

    AuthenticatorStore

  5. class CookieAuthenticatorBuilder[U] extends AuthenticatorBuilder[U]

    An authenticator builder.

    An authenticator builder. It can create an Authenticator instance from an http request or from a user object

    U

    the user object type

  6. case class HttpHeaderAuthenticator[U](id: String, user: U, expirationDate: DateTime, lastUsed: DateTime, creationDate: DateTime, store: AuthenticatorStore[HttpHeaderAuthenticator[U]]) extends StoreBackedAuthenticator[U, HttpHeaderAuthenticator[U]] with Product with Serializable

    A http header based authenticator.

    A http header based authenticator. This authenticator works using the X-Auth-Token header in the http request to track authenticated users. Since the token is only an id the rest of the user data is stored using an instance of the AuthenticatorStore.

    U

    the user type (defined by the application using the module)

    id

    the authenticator id

    user

    the user this authenticator is associated with

    expirationDate

    the expiration date

    lastUsed

    the last time the authenticator was used

    creationDate

    the authenticator creation time

    store

    the authenticator store where instances of this authenticator are persisted

    See also

    RuntimeEnvironment

    AuthenticatorStore

  7. class HttpHeaderAuthenticatorBuilder[U] extends AuthenticatorBuilder[U]

    An authenticator builder.

    An authenticator builder. It can create an Authenticator instance from an http request or from a user object

    U

    the user object type

  8. trait IdGenerator extends AnyRef

    An Authenticator Id generator.

  9. trait StoreBackedAuthenticator[U, T <: Authenticator[U]] extends Authenticator[U]

    Base trait for the Cookie and Http Header based authenticators

    Base trait for the Cookie and Http Header based authenticators

    U

    the user object type

    T

    the authenticator type

Value Members

  1. object AuthenticatorStore

  2. object CookieAuthenticator extends Serializable

  3. object HttpHeaderAuthenticator extends Serializable

  4. object IdGenerator

Ungrouped