Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ OAuthStep, AuthDebuggerState } from
"./auth-types"
;
2
import
{ DebugInspectorOAuthClientProvider, discoverScopes } from
"./auth"
;
3
import
{
4
discoverAuthorizationServerMetadata,
Callers
nothing calls this directly
Calls
9
discoverScopes
Function · 0.90
generateOAuthState
Function · 0.90
saveServerMetadata
Method · 0.80
clientInformation
Method · 0.80
saveClientInformation
Method · 0.80
saveCodeVerifier
Method · 0.80
getServerMetadata
Method · 0.80
codeVerifier
Method · 0.80
saveTokens
Method · 0.80
Tested by
no test coverage detected