Documentation
    Preparing search index...

    Function getCodeChallenge

    • Hashes the code verifier prior to transmission to the authorization server.

      Parameters

      • codeVerifier: string

        A cryptographically unique character sequence used to ensure that the client is the only entity allowed to exchange an access token for the associated authorization code.

      Returns Promise<string>

      The SHA-256-hashed and base64-encoded code verifier to transmit to the authorization server.