Class ProfileCredentialRefresh
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
How a profile credential is refreshed.
public sealed record ProfileCredentialRefresh : IEquatable<ProfileCredentialRefresh>
- Inheritance
-
ProfileCredentialRefresh
- Implements
- Inherited Members
Properties
AdditionalOutputs
Additional outputs of one refresh.
public IReadOnlyList<ProfileCredentialRefreshOutput> AdditionalOutputs { get; init; }
Property Value
Material
Inputs required by the strategy.
public IReadOnlyList<ProfileCredentialRefreshMaterial> Material { get; init; }
Property Value
MaxLifetime
Maximum credential lifetime; null when absent (truncated to 100 ns).
public TimeSpan? MaxLifetime { get; init; }
Property Value
RefreshBefore
Refresh this long before expiry; null when absent (truncated to 100 ns).
public TimeSpan? RefreshBefore { get; init; }
Property Value
Scopes
OAuth2 scopes.
public IReadOnlyList<string> Scopes { get; init; }
Property Value
Strategy
Strategy.
public RefreshStrategy Strategy { get; init; }
Property Value
TokenUrl
Token endpoint URL.
public string TokenUrl { get; init; }