(idpIssuer: string)
| 175 | * Read the IdP client secret for the given issuer from secure storage. |
| 176 | */ |
| 177 | export 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. |
no test coverage detected