AxMCPOAuthOptions
Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/mcp/oauth/types.ts#L12
Properties
| Property | Type | Description |
|---|---|---|
clientId? | string | - |
clientSecret? | string | - |
onAuthCode? | (authorizationUrl: string) => Promise<{ code: string; redirectUri?: string; }> | - |
redirectUri? | string | - |
scopes? | string[] | - |
selectAuthorizationServer? | (issuers: string[], resourceMetadata: unknown) => string | Promise<string> | - |
ssrfProtection? | AxMCPSSRFProtectionOptions | SSRF protection for OAuth discovery, registration, and token URLs supplied by MCP servers and authorization metadata. Enabled by default. |
tokenStore? | object | - |
tokenStore.clearToken? | (key: string) => void | Promise<void> | - |
tokenStore.getToken | (key: string) => | null | AxMCPTokenSet | Promise<null | AxMCPTokenSet> | - |
tokenStore.setToken | (key: string, token: AxMCPTokenSet) => void | Promise<void> | - |