com.mohiva.play.silhouette.core.Silhouette
A builder for secured actions.
Requests are subject to authentication logic and, optionally, authorization. HTTP status codes 401 (Unauthorized) and 403 (Forbidden) will be returned when appropriate.
For reference see: RFC 2616, Understanding 403 Forbidden, 403 Forbidden vs 401 Unauthorized HTTP responses.
An Authorize object that checks if the user is authorized to invoke the action.
Invokes the block.
The request.
The block of code to invoke.
The result to send to the client.
A builder for secured actions.
Requests are subject to authentication logic and, optionally, authorization. HTTP status codes 401 (Unauthorized) and 403 (Forbidden) will be returned when appropriate.
For reference see: RFC 2616, Understanding 403 Forbidden, 403 Forbidden vs 401 Unauthorized HTTP responses.