ITenantTokenStore
Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication
Keeps exchanged tokens per tenant. The default keeps them in memory; a host may persist them where it already protects the token they were exchanged from.
public interface ITenantTokenStore
Methods
Get(String)
Returns the cached token for a tenant, if any.
CachedTenantToken Get(string tenantId)
Parameters
tenantId String
Returns
Set(String, CachedTenantToken)
Stores the token for a tenant.
void Set(string tenantId, CachedTenantToken token)
Parameters
tenantId String
token CachedTenantToken