Documentation
    Preparing search index...

    Interface AuthorizationCodeRedirectOptions

    interface AuthorizationCodeRedirectOptions {
        codeVerifier?: string;
        scope?: string;
        state?: string;
    }
    Index

    Properties

    codeVerifier?: string

    A cryptographically unique string to use to verify the client is the only entity able to trade the authorization code for an access token. Use the genCodeVerifier method to securely generate a code verifier.

    scope?: string

    The scope to request during the authorization code grant flow. As defined per the OAuth Specification: "...a list of space-delimited, case-sensitive strings. The strings are defined by the authorization server. If the value contains multiple space-delimited strings, their order does not matter, and each string adds an additional access range to the requested scope." Source: https://www.rfc-editor.org/rfc/rfc6749#section-3.3.

    state?: string

    Some state that the authorization server adds to the redirect URI after the resource owner authenticates. The state should not include unencrypted, sensitive values.