Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IGoogleWorkspaceTokenStore

OfficeIMO.GoogleWorkspace.Auth.GoogleApis

Namespace
OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Assembly
OfficeIMO.GoogleWorkspace.Auth.GoogleApis
Source revision
22fb5b2be3d2 with working tree changes
Modifiers
abstract

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.

Accepted by parameters 1

Methods

public abstract Task ClearAsync() #

Deletes all authorization state owned by this store.

Returns

Task
public abstract Task DeleteAsync<T>(string key) #

Deletes authorization state of the requested type under a key.

Type Parameters

T

Parameters

key string required

Returns

Task
public abstract Task<T?> GetAsync<T>(string key) #

Reads authorization state, returning null when the key is absent.

Type Parameters

T

Parameters

key string required

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 required
value T? required

Returns

Task