com.mohiva.play.silhouette

api

package api

The collection of traits and utility classes that form the stable API of Silhouette.

The main API is exposed as controller actions by the com.mohiva.play.silhouette.api.Silhouette trait.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait AuthInfo extends AnyRef

    A marker trait for authentication information.

  2. case class AuthenticatedEvent[I <: Identity](identity: I, request: RequestHeader, messages: Messages) extends SilhouetteEvent with Product with Serializable

    An event which will be published if a request passes authentication.

  3. trait Authenticator extends AnyRef

    An authenticator tracks an authenticated user.

  4. trait Authorization[I <: Identity, A <: Authenticator] extends AnyRef

    A trait to define Authorization objects that let you hook an authorization implementation in secured endpoints.

  5. trait Environment[I <: Identity, A <: Authenticator] extends ExecutionContextProvider

    The environment needed to instantiate a Silhouette controller.

  6. class EventBus extends ActorEventBus with SubchannelClassification

    An event bus implementation which uses a class based lookup classification.

  7. trait ExpirableAuthenticator extends Authenticator

    An authenticator that may expire.

  8. trait Identity extends AnyRef

    This trait represents an authenticated user.

  9. trait Logger extends AnyRef

    Implement this to get a named logger in scope.

  10. case class LoginEvent[I <: Identity](identity: I, request: RequestHeader, messages: Messages) extends SilhouetteEvent with Product with Serializable

    An event which will be published after an identity logged in.

  11. case class LoginInfo(providerID: String, providerKey: String) extends Product with Serializable

    Represents a linked login for an identity (i.

  12. case class LogoutEvent[I <: Identity](identity: I, request: RequestHeader, messages: Messages) extends SilhouetteEvent with Product with Serializable

    An event which will be published after an identity logged out.

  13. case class NotAuthenticatedEvent(request: RequestHeader, messages: Messages) extends SilhouetteEvent with Product with Serializable

    An event which will be published if a request did not pass authentication.

  14. case class NotAuthorizedEvent[I <: Identity](identity: I, request: RequestHeader, messages: Messages) extends SilhouetteEvent with Product with Serializable

    An event which will be published if a request did not pass authorization.

  15. trait Provider extends AnyRef

    A marker interface for all providers.

  16. trait RequestProvider extends Provider

    A provider which can be hooked into a request.

  17. trait SecuredErrorHandler extends AnyRef

    Can be mixed into the HttpErrorHandler object to define a global behaviour for unauthorized and forbidden endpoints.

  18. case class SignUpEvent[I <: Identity](identity: I, request: RequestHeader, messages: Messages) extends SilhouetteEvent with Product with Serializable

    An event which will be published after an identity signed up.

  19. trait Silhouette[I <: Identity, A <: Authenticator] extends Controller with Logger with I18nSupport

    Provides the mechanisms that can be used to protect endpoints and retrieve the current user if available.

  20. trait SilhouetteEvent extends AnyRef

    The base event.

  21. trait StorableAuthenticator extends Authenticator

    An authenticator which can be stored in a backing store.

Value Members

  1. object Authenticator

    The Authenticator companion object.

  2. object Authorization

    The companion object.

  3. object Environment

    The companion object.

  4. object EventBus

    A global event bus instance.

  5. object LoginInfo extends (String, String) ⇒ LoginInfo with Serializable

    The companion object of the login info.

  6. package exceptions

    Provides exceptions used by the API.

  7. package repositories

    Provides repositories used by the API to persist entities.

  8. package services

    Provides services used by the API to call external or internal services.

  9. package util

    Provides utilities used by the API.

Inherited from AnyRef

Inherited from Any

Ungrouped