TokenStorage defines the interface for storing authentication tokens. Implementations of this interface should provide methods to persist authentication tokens to a file system location.
| 6 | // Implementations of this interface should provide methods to persist |
| 7 | // authentication tokens to a file system location. |
| 8 | type TokenStorage interface { |
| 9 | // SaveTokenToFile persists authentication tokens to the specified file path. |
| 10 | // |
| 11 | // Parameters: |
| 12 | // - authFilePath: The file path where the authentication tokens should be saved |
| 13 | // |
| 14 | // Returns: |
| 15 | // - error: An error if the save operation fails, nil otherwise |
| 16 | SaveTokenToFile(authFilePath string) error |
| 17 | } |
no outgoing calls
no test coverage detected