Skip to main content

Interface: PKCEPair

Defined in: src/auth/oauth/pkce.ts:31

PKCE code verifier and challenge pair.

Properties

codeChallenge

readonly codeChallenge: string

Defined in: src/auth/oauth/pkce.ts:46

Code challenge (sent to authorization server).

Remarks

Base64url-encoded SHA-256 hash of verifier.


codeChallengeMethod

readonly codeChallengeMethod: "S256"

Defined in: src/auth/oauth/pkce.ts:51

Challenge method (always S256).


codeVerifier

readonly codeVerifier: string

Defined in: src/auth/oauth/pkce.ts:38

Code verifier (client secret).

Remarks

43-128 character base64url string.