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

    Function generatePkceVerifier

    • Generates a cryptographically random PKCE code verifier.

      Parameters

      • length: number = PKCE_VERIFIER_DEFAULT_LENGTH

        Verifier length in characters. Must be between 43 and 128 (RFC 7636 ยง4.1). Defaults to 64.

      Returns string

      A string of the requested length using only the RFC-allowed unreserved alphabet.