com.mohiva.play.silhouette.impl.providers.state
The state settings.
The ID generator used to create the state value.
The signer implementation.
The item the handler can handle.
The item the handler can handle.
Indicates if a handler can handle the given unserialized state item.
Indicates if a handler can handle the given unserialized state item.
This method should check if the unserialize method of this handler can unserialize the given serialized state item.
The type of the request body.
The item to check for.
The request instance to get additional data to validate against.
True if the handler can handle the given state item, false otherwise.
Indicates if a handler can handle the given SocialStateItem.
Indicates if a handler can handle the given SocialStateItem.
This method should check if the serialize method of this handler can serialize the given unserialized state item.
The item to check for.
Some[Item]
casted state item if the handler can handle the given state item, None
otherwise.
Gets the state item the handler can handle.
Gets the state item the handler can handle.
The execution context to handle the asynchronous operations.
The state params the handler can handle.
A named logger instance.
A named logger instance.
Publishes the CSRF token to the client.
Publishes the CSRF token to the client.
The type of the request body.
The item to publish.
The result to send to the client.
The current request.
The result to send to the client.
Returns a serialized value of the state item.
Returns a serialized value of the state item.
The state item to serialize.
The serialized state item.
Unserializes the state item.
Unserializes the state item.
The type of the request body.
The state item to unserialize.
The request instance to get additional data to validate against.
The execution context to handle the asynchronous operations.
The unserialized state item.
Protects the application against CSRF attacks.
The handler stores a unique token in provider state and the same token in a signed client side cookie. After the provider redirects back to the application both tokens will be compared. If both tokens are the same than the application can trust the redirect source.