@novice1/frame - v0.3.1
    Preparing search index...

    Class OAuth2ACShape

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _authHandlers: RequestHandler<
        ParamsDictionary,
        any,
        any,
        ParsedQs,
        Record<string, any>,
        any,
    >[] = []
    authorizationRoute: OAuth2ACAuthorizationRoute
    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

      • ...handler: RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>, any>[]

      Returns this

    • 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