Vana SDK - v3.5.0
    Preparing search index...

    Function verifyPkceChallenge

    • Verifies that a verifier hashes to the given S256 challenge.

      Parameters

      • verifier: string

        The PKCE code verifier presented by the client.

      • challenge: string

        The previously stored S256 challenge.

      Returns Promise<boolean>

      true when the verifier matches; false otherwise.