com.mohiva.play.silhouette.api.Silhouette
Invoke the block.
Invoke the block.
This is the main method that an request handler has to implement.
The type of the request body.
The type of the data included in the handler result.
The block of code to invoke.
The current request.
A handler result.
Constructs a request handler with the content of the given request.
Constructs a request handler with the content of the given request.
The type of the request body.
The type of the data included in the handler result.
The current request.
The block of code to invoke.
A handler result.
Constructs a request handler with default content.
Constructs a request handler with default content.
The type of the data included in the handler result.
The block of code to invoke.
The current request.
A handler result.
Handles the authentication of an identity.
Handles the authentication of an identity.
As first it checks for authenticators in requests, then it tries to authenticate against a request provider. This method marks the returned authenticators by returning already initialized authenticators on the left and new authenticators on the right. All new authenticators must be initialized later in the flow, with the result returned from the invoked block.
The type of the request body.
The current request.
A tuple which consists of (maybe the existing authenticator on the left or a new authenticator on the right -> maybe the identity).
Handles a block for an authenticator.
Handles a block for an authenticator.
Invokes the block with the authenticator and handles the result. See handleInitializedAuthenticator
and
handleUninitializedAuthenticator
methods too see how the different authenticator types will be handled.
An already initialized authenticator on the left and a new authenticator on the right.
The block to handle with the authenticator.
The current request header.
A handler result.
A builder for building request handlers.