Options
All
  • Public
  • Public/Protected
  • All
Menu

Handles all the necessary steps for an authorization. Errors if authorization fails, otherwise passes the parameter to the operationHandler handler. The following steps are executed:

  • Extracting credentials from the request.
  • Extracting the required permissions.
  • Reading the allowed permissions for the credentials.
  • Validating if this operation is allowed.

Hierarchy

Index

Constructors

constructor

Properties

Private Readonly authorizer

authorizer: Authorizer

Private Readonly credentialsExtractor

credentialsExtractor: CredentialsExtractor

Private Readonly logger

logger: Logger = ...

Private Readonly modesExtractor

modesExtractor: ModesExtractor

Private Readonly operationHandler

operationHandler: OperationHttpHandler

Private Readonly permissionReader

permissionReader: PermissionReader

Methods

canHandle

handle

handleSafe