MCPcopy Create free account
hub / github.com/modelcontextprotocol/typescript-sdk / state

Method state

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

* Returns a OAuth2 state parameter.

()

Source from the content-addressed store, hash-verified

69 * Returns a OAuth2 state parameter.
70 */
71 state?(): string | Promise<string>;
72
73 /**
74 * Loads information about this OAuth client, as registered already with the

Callers 1

authInternalFunction · 0.80

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