EmptyStorage is a no-operation implementation of the TokenStorage interface. It provides empty implementations for scenarios where token storage is not needed, such as when using API keys instead of OAuth tokens for authentication.
| 7 | // It provides empty implementations for scenarios where token storage is not needed, |
| 8 | // such as when using API keys instead of OAuth tokens for authentication. |
| 9 | type EmptyStorage struct { |
| 10 | // Type indicates the authentication provider type, always "empty" for this implementation. |
| 11 | Type string `json:"type"` |
| 12 | } |
| 13 | |
| 14 | // SaveTokenToFile is a no-operation implementation that always succeeds. |
| 15 | // This method satisfies the TokenStorage interface but performs no actual file operations |
nothing calls this directly
no outgoing calls
no test coverage detected