Store handles credential storage, preferring system keychain.
| 25 | |
| 26 | // Credentials holds OAuth tokens and metadata. |
| 27 | type Credentials struct { |
| 28 | AccessToken string `json:"access_token"` //nolint:gosec // G117: legitimate credential field |
| 29 | RefreshToken string `json:"refresh_token"` //nolint:gosec // G117: legitimate credential field |
| 30 | ExpiresAt int64 `json:"expires_at"` |
| 31 | OAuthType string `json:"oauth_type"` |
| 32 | TokenEndpoint string `json:"token_endpoint"` |
| 33 | SessionCookie string `json:"session_cookie,omitempty"` |
| 34 | } |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected