CachedTenantToken
Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication
A token issued for a tenant, as kept by an ITenantTokenStore.
public record CachedTenantToken : IEquatable<CachedTenantToken>
Inheritance Object → CachedTenantToken
Implements IEquatable<CachedTenantToken>
Properties
AccessToken
The access token.
public string AccessToken { get; set; }
Property Value
ExpiresAtUtc
When it expires.
public DateTime ExpiresAtUtc { get; set; }
Property Value
SubjectFingerprint
Fingerprint of the token it was exchanged from.
public string SubjectFingerprint { get; set; }
Property Value
Constructors
CachedTenantToken(String, DateTime, String)
A token issued for a tenant, as kept by an ITenantTokenStore.
public CachedTenantToken(string AccessToken, DateTime ExpiresAtUtc, string SubjectFingerprint)
Parameters
AccessToken String
The access token.
ExpiresAtUtc DateTime
When it expires.
SubjectFingerprint String
Fingerprint of the token it was exchanged from.