Interface
IGoogleWorkspaceTokenStore
OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Persistence boundary for OAuth refresh tokens and related authorization state. Implementations are responsible for encrypting sensitive values at rest.
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 1
Methods
public abstract Task DeleteAsync<T>(string key) #Deletes authorization state of the requested type under a key.
Type Parameters
- T
Parameters
- key string
Returns
Taskpublic abstract Task<T?> GetAsync<T>(string key) #Reads authorization state, returning null when the key is absent.
Type Parameters
- T
Parameters
- key string
Returns
Task<T?>public abstract Task StoreAsync<T>(string key, T? value) #Stores or replaces authorization state under a key.
Type Parameters
- T
Parameters
- key string
- value T?
Returns
Task