NewKeyringTokenStore returns the process-wide persistent OAuth token store. The name is kept for compatibility; without an optional keyring-backed store registered by pkg/tools/mcp/keyringstore, it falls back to an in-memory store.
()
| 65 | // The name is kept for compatibility; without an optional keyring-backed store |
| 66 | // registered by pkg/tools/mcp/keyringstore, it falls back to an in-memory store. |
| 67 | func NewKeyringTokenStore() OAuthTokenStore { |
| 68 | return defaultTokenStore() |
| 69 | } |
| 70 | |
| 71 | type OAuthToken struct { |
| 72 | AccessToken string `json:"access_token"` |
no test coverage detected