com.mohiva.play.silhouette.impl.authenticators
The cookie settings.
The repository to persist the authenticator. Set it to None to use a stateless approach.
The signer implementation.
Logic for encoding and decoding Cookie
and Set-Cookie
headers.
The authenticator encoder.
The fingerprint generator implementation.
The ID generator used to create the authenticator ID.
The clock implementation.
The execution context to handle the asynchronous operations.
Creates a new authenticator for the specified login info.
Creates a new authenticator for the specified login info.
The login info for which the authenticator should be created.
The request header.
An authenticator.
Discards the cookie.
Discards the cookie.
If the stateful approach will be used then the authenticator will also be removed from backing store.
The authenticator instance.
The result to manipulate.
The request header.
The manipulated result.
Embeds the cookie into the request.
Embeds the cookie into the request.
The cookie to embed.
The request header.
The manipulated request header.
Embeds the cookie into the result.
Embeds the cookie into the result.
The cookie to embed.
The result to manipulate.
The request header.
The manipulated result.
The execution context to handle the asynchronous operations.
The execution context to handle the asynchronous operations.
Creates a new cookie for the given authenticator and return it.
Creates a new cookie for the given authenticator and return it.
If the stateful approach will be used the the authenticator will also be stored in the backing store.
The authenticator instance.
The request header.
The serialized authenticator value.
A named logger instance.
A named logger instance.
Renews an authenticator and replaces the authenticator cookie with a new one.
Renews an authenticator and replaces the authenticator cookie with a new one.
If the stateful approach will be used then the old authenticator will be revoked in the backing store. After that it isn't possible to use a cookie which was bound to this authenticator.
The authenticator to update.
The result to manipulate.
The request header.
The original or a manipulated result.
Renews an authenticator.
Renews an authenticator.
After that it isn't possible to use a cookie which was bound to this authenticator. This method doesn't embed the the authenticator into the result. This must be done manually if needed or use the other renew method otherwise.
The authenticator to renew.
The request header.
The serialized expression of the authenticator.
Retrieves the authenticator from request.
Retrieves the authenticator from request.
The type of the request body.
The request to retrieve the authenticator from.
Some authenticator or None if no authenticator could be found in request.
Touches an authenticator.
Touches an authenticator.
An authenticator can use sliding window expiration. This means that the authenticator times out after a certain time if it wasn't used. So to mark an authenticator as used it will be touched on every request to a Silhouette action. If an authenticator should not be touched because of the fact that sliding window expiration is disabled, then it should be returned on the right, otherwise it should be returned on the left. An untouched authenticator needn't be updated later by the update method.
The authenticator to touch.
The touched authenticator on the left or the untouched authenticator on the right.
Updates the authenticator with the new last used date.
Updates the authenticator with the new last used date.
If the stateless approach will be used then we update the cookie on the client. With the stateful approach we needn't embed the cookie in the response here because the cookie itself will not be changed. Only the authenticator in the backing store will be changed.
The authenticator to update.
The result to manipulate.
The request header.
The original or a manipulated result.
The service that handles the cookie authenticator.