FileTokenStore persists token records and auth metadata using the filesystem as backing storage.
| 54 | |
| 55 | // FileTokenStore persists token records and auth metadata using the filesystem as backing storage. |
| 56 | type FileTokenStore struct { |
| 57 | mu sync.Mutex |
| 58 | dirLock sync.RWMutex |
| 59 | baseDir string |
| 60 | } |
| 61 | |
| 62 | // NewFileTokenStore creates a token store that saves credentials to disk through the |
| 63 | // TokenStorage implementation embedded in the token record. |
nothing calls this directly
no outgoing calls
no test coverage detected