Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthorizeFailedHandlerContext<TRequest>

The context for a handler, that is invoked, if authorization failed.

Type parameters

  • TRequest: express.Request = express.Request

Hierarchy

  • AuthorizeFailedHandlerContext

Index

Properties

Optional reason

reason: any

The reason from authorization handler.

request

request: TRequest

The current HTTP request context.

resources

resources: string[]

The list of resources to check.

response

response: Response

The current HTTP response context.

result

The result of the underlying handler.

roles

roles: string[]

The list of roles to check.

Generated using TypeDoc