SecuredRequestHandler

play.silhouette.api.actions.SecuredRequestHandler

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 play.silhouette.api.actions.SecuredErrorHandler.onNotAuthenticated or the play.silhouette.api.actions.SecuredErrorHandler.onNotAuthorized methods.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def apply[E <: Env](environment: Environment[E]): SecuredRequestHandlerBuilder[E]

Applies the environment to the request handler stack.

Applies the environment to the request handler stack.

Type parameters

E

The type of the environment.

Value parameters

environment

The environment instance to handle the request.

Attributes

Returns

A secured request handler builder.

Abstract fields

The instance of the secured error handler.

The instance of the secured error handler.

Attributes