Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISubRouteProps

Hierarchy

  • Omit<IRoutePropsBase, "path">
    • ISubRouteProps

Index

Properties

Optional Readonly authorizationScopes

authorizationScopes: string[]

(experimental) The list of OIDC scopes to include in the authorization.

These scopes will be merged with the scopes from the attached authorizer

default
  • no additional authorization scopes
experimental

Optional Readonly authorizer

authorizer: IHttpRouteAuthorizer

(experimental) Authorizer for a WebSocket API or an HTTP API.

default
  • No authorizer
experimental

Optional methods

methods: HttpMethod[]

Enabled HttpMethods for route. If path is defined, this determines which methods the path responds to.

Optional path

path: string

Optional unauthorized

unauthorized: boolean

Disable default authorizer.

Set to true for routes that do not require authorization if your routes normally require it.

Generated using TypeDoc