com.mohiva.play.silhouette.core
A request that adds the User for the current call.
A builder for secured actions.
A request that only allows access if a user is authorized.
Gets the environment needed to instantiate a Silhouette controller.
Gets the environment needed to instantiate a Silhouette controller.
The environment needed to instantiate a Silhouette controller.
A secured action.
An action that adds the current user in the request if it's available.
Gets the current logged in identity.
Gets the current logged in identity.
This method can be used from public actions that need to access the current user if there's any.
The request header.
The identity if any.
Default exception handler for silhouette exceptions which translates an exception into the appropriate result.
Default exception handler for silhouette exceptions which translates an exception into the appropriate result.
Translates an AccessDeniedException into a 403 Forbidden result and an AuthenticationException into a 401 Unauthorized result.
The request header.
The result to send to the client based on the exception.
A named logger instance.
A named logger instance.
Implement this to return a result when the user is not authenticated.
Implement this to return a result when the user is not authenticated.
As defined by RFC 2616, the status code of the response should be 401 Unauthorized.
The request header.
The result to send to the client.
Implement this to return a result when the user is authenticated but not authorized.
Implement this to return a result when the user is authenticated but not authorized.
As defined by RFC 2616, the status code of the response should be 403 Forbidden.
The request header.
The result to send to the client.
(Since version 2.2.0) Use Action.async to build async actions instead
Provides the actions that can be used to protect controllers and retrieve the current user if available.
The type of the identity.
The type of the authenticator.