Class RefreshConfig
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
Configures gateway-owned refresh for a credential.
public sealed record RefreshConfig : IEquatable<RefreshConfig>
- Inheritance
-
RefreshConfig
- Implements
- Inherited Members
Properties
CredentialKey
Credential key.
public required string CredentialKey { get; init; }
Property Value
ExpiresAt
Current credential expiration, when known.
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
Material
Strategy inputs. Treated as secret: never printed by ToString().
public IReadOnlyDictionary<string, string> Material { get; init; }
Property Value
Provider
Provider name.
public required string Provider { get; init; }
Property Value
RequestId
Idempotency key.
public string? RequestId { get; init; }
Property Value
SecretMaterialKeys
Additional material names to store as secrets; each must be present in Material.
public IReadOnlyList<string>? SecretMaterialKeys { get; init; }
Property Value
Strategy
Strategy.
public RefreshStrategy Strategy { get; init; }
Property Value
Methods
ToString()
Describes the configuration without printing refresh material.
public override string ToString()