Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for an @Authorize decorator.

Hierarchy

  • AuthorizeOptions

Index

Properties

Optional authorize

authorize: AuthorizeHandler<Request>

The custom authorization handler.

Optional onAuthorizeFailed

onAuthorizeFailed: AuthorizeFailedHandler<Request>

The custom handler, if authorization failed.

Optional resources

resources: string | string[]

One or more resource names.

Optional roles

roles: string | string[]

One or more role names.

Generated using TypeDoc