My Project 1.0
Open Source Encrypted Vault Storage
|
Public Member Functions | |
TokenManager (ISessionStorageService sessionStorage) | |
async Task< string?> | GetTokenAsync () |
Gets the stored token, or null if no token is stored. | |
async Task | SetTokenAsync (string? token) |
Sets the token to be stored. If null is passed, it clears the stored token. | |
async Task | ClearTokenAsync () |
Clears the stored token. |
Definition at line 7 of file TokenManager.cs.
|
inline |
Definition at line 12 of file TokenManager.cs.
|
inline |
Clears the stored token.
Implements ignivault.ApiClient.ITokenManager.
Definition at line 34 of file TokenManager.cs.
|
inline |
Gets the stored token, or null if no token is stored.
Implements ignivault.ApiClient.ITokenManager.
Definition at line 17 of file TokenManager.cs.
|
inline |
Sets the token to be stored. If null is passed, it clears the stored token.
token |
Implements ignivault.ApiClient.ITokenManager.
Definition at line 22 of file TokenManager.cs.