Applies the environment to the request handler stack.
Applies the environment to the request handler stack.
The type of the environment.
The environment instance to handle the request.
A secured request handler builder.
The instance of the secured error handler.
A secured request handler.
A handler which intercepts requests and checks if there is an authenticated user. If there is one, the execution continues and the enclosed code is invoked.
If the user is not authenticated or not authorized, the request is forwarded to the com.mohiva.play.silhouette.api.actions.SecuredErrorHandler.onNotAuthenticated or the com.mohiva.play.silhouette.api.actions.SecuredErrorHandler.onNotAuthorized methods.