MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / saveCodeVerifier

Method saveCodeVerifier

src/mcp/auth.ts:136–139  ·  view source on GitHub ↗
(verifier: string)

Source from the content-addressed store, hash-verified

134 }
135
136 saveCodeVerifier(verifier: string): void {
137 this.store.codeVerifier = verifier
138 writeAuthStore(this.serverName, this.store)
139 }
140
141 codeVerifier(): string {
142 if (!this.store.codeVerifier) throw new Error("No PKCE code verifier stored.")

Callers

nothing calls this directly

Calls 1

writeAuthStoreFunction · 0.85

Tested by

no test coverage detected