Class OAuth2ACShape

Hierarchy (view full)

Constructors

Properties

_authHandlers: RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>, any>[] = []
authorizationRoute: OAuth2ACAuthorizationRoute<ParamsDictionary, any, any, ParsedQs, Record<string, any>, any, any, any, ParsedQs, Record<string, any>, any>
description?: string
pkce: boolean = false
refreshTokenRoute?: IOAuth2Route
scopes?: Record<string, string>
securitySchemeName: string
tokenRoute: IOAuth2Route

Methods

  • Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>, any>[]

  • Parameters

    • scopes: Record<string, string>

      The scopes of the access request. A map between the scope name and a short description for it. The map MAY be empty.

    Returns this