Package

securesocial.core

authenticator

Permalink

package authenticator

Visibility
  1. Public
  2. All

Type Members

  1. trait Authenticator[U] extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

    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]], storeBackedAuthenticatorConfigurations: CookieAuthenticatorConfigurations) extends StoreBackedAuthenticator[U, CookieAuthenticator[U]] with Serializable with Product

    Permalink

    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]

    Permalink

    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. trait CookieAuthenticatorConfigurations extends StoreBackedAuthenticatorConfigurations

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

    Permalink

    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

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

    Permalink

    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

  9. trait HttpHeaderAuthenticatorConfigurations extends StoreBackedAuthenticatorConfigurations

    Permalink
  10. trait IdGenerator extends AnyRef

    Permalink

    An Authenticator Id generator.

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

    Permalink

    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

  12. trait StoreBackedAuthenticatorConfigurations extends AnyRef

    Permalink

Ungrouped