An event which will be published if a request passes authentication.
An event which will be published if a request passes authentication.
The type of the identity.
The logged in identity.
The request header for the associated request.
The lang associated for the current request.
An authenticator tracks an authenticated user.
A trait to define Authorization objects that let you hook an authorization implementation in secured endpoints.
A trait to define Authorization objects that let you hook an authorization implementation in secured endpoints.
The type of the identity.
The environment needed to instantiate a Silhouette controller.
An event bus implementation which uses a class based lookup classification.
This trait represents an authenticated user.
Implement this to get a named logger in scope.
An event which will be published after an identity logged in.
An event which will be published after an identity logged in.
The type of the identity.
The logged in identity.
The request header for the associated request.
The lang associated for the current request.
Represents a linked login for an identity (i.e.
Represents a linked login for an identity (i.e. a local username/password or a Facebook/Google account).
The login info contains the data about the provider that authenticated that identity.
The ID of the provider.
A unique key which identifies a user on this provider (userID, email, ...).
An event which will be published after an identity logged out.
An event which will be published after an identity logged out.
The type of the identity.
The logged out identity.
The request header for the associated request.
The lang associated for the current request.
An event which will be published if a request did not pass authentication.
An event which will be published if a request did not pass authentication.
The request header for the associated request.
The lang associated for the current request.
An event which will be published if a request did not pass authorization.
An event which will be published if a request did not pass authorization.
The type of the identity.
The logged in identity.
The request header for the associated request.
The lang associated for the current request.
A marker interface for all providers.
A provider which can be hooked into a request.
A provider which can be hooked into a request.
It scans the request for credentials and returns the login info for it.
Can be mixed into the GlobalSettings object to define a global behaviour for unauthorized and forbidden endpoints.
An event which will be published after an identity signed up.
An event which will be published after an identity signed up.
The type of the identity.
The newly created identity.
The request header for the associated request.
The lang associated for the current request.
Provides the mechanisms that can be used to protect endpoints and retrieve the current user if available.
Provides the mechanisms that can be used to protect endpoints and retrieve the current user if available.
class MyController(env: Environment[User, CookieAuthenticator]) extends Silhouette[User, CookieAuthenticator] { def protectedAction = SecuredAction { implicit request => Ok("Hello %s".format(request.identity.fullName)) } }
The type of the identity.
The type of the authenticator.
The base event.
An authenticator which can be stored in a backing store.
A token used for reset password and sign up operations.
The companion object.
The companion object.
The companion object.
A global event bus instance.
The companion object of the login info.
Provides exceptions used by the API.
Provides services used by the API to call external or internal services.
Provides utilities used by the 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.