MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / oauth-state-machine.ts

File oauth-state-machine.ts

client/src/lib/oauth-state-machine.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { OAuthStep, AuthDebuggerState } from "./auth-types";
2import { DebugInspectorOAuthClientProvider, discoverScopes } from "./auth";
3import {
4 discoverAuthorizationServerMetadata,

Callers

nothing calls this directly

Calls 9

discoverScopesFunction · 0.90
generateOAuthStateFunction · 0.90
saveServerMetadataMethod · 0.80
clientInformationMethod · 0.80
saveClientInformationMethod · 0.80
saveCodeVerifierMethod · 0.80
getServerMetadataMethod · 0.80
codeVerifierMethod · 0.80
saveTokensMethod · 0.80

Tested by

no test coverage detected