MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getIdpClientSecret

Function getIdpClientSecret

src/services/mcp/xaaIdpLogin.ts:177–181  ·  view source on GitHub ↗
(idpIssuer: string)

Source from the content-addressed store, hash-verified

175 * Read the IdP client secret for the given issuer from secure storage.
176 */
177export function getIdpClientSecret(idpIssuer: string): string | undefined {
178 const storage = getSecureStorage()
179 const data = storage.read()
180 return data?.mcpXaaIdpConfig?.[issuerKey(idpIssuer)]?.clientSecret
181}
182
183/**
184 * Remove the IdP client secret for the given issuer from secure storage.

Callers 3

registerMcpXaaIdpCommandFunction · 0.85
performMCPXaaAuthFunction · 0.85
xaaRefreshMethod · 0.85

Calls 3

getSecureStorageFunction · 0.85
issuerKeyFunction · 0.85
readMethod · 0.65

Tested by

no test coverage detected