MCPcopy Index your code
hub / github.com/modelcontextprotocol/typescript-sdk / codeVerifier

Method codeVerifier

src/client/auth.ts:117–117  ·  view source on GitHub ↗

* Loads the PKCE code verifier for the current session, necessary to validate * the authorization result.

()

Source from the content-addressed store, hash-verified

115 * the authorization result.
116 */
117 codeVerifier(): string | Promise<string>;
118
119 /**
120 * Adds custom client authentication to OAuth token requests.

Callers 1

fetchTokenFunction · 0.65

Implementers 5

ConformanceOAuthProvidertest/conformance/src/helpers/conforman
ClientCredentialsProvidersrc/client/auth-extensions.ts
PrivateKeyJwtProvidersrc/client/auth-extensions.ts
StaticPrivateKeyJwtProvidersrc/client/auth-extensions.ts
InMemoryOAuthClientProvidersrc/examples/client/simpleOAuthClientP

Calls

no outgoing calls

Tested by

no test coverage detected