Class CapabilityGrantValidationOptions
- Namespace
- AsiBackbone.Core.CapabilityTokens
- Assembly
- AsiBackbone.Core.dll
public sealed class CapabilityGrantValidationOptions
- Inheritance
-
CapabilityGrantValidationOptions
- Inherited Members
-
Properties
AcknowledgmentId
public string? AcknowledgmentId { get; }
Property Value
- string
AllowedClockSkew
public TimeSpan AllowedClockSkew { get; }
Property Value
- TimeSpan
Audience
public string? Audience { get; }
Property Value
- string
ExpectedProofKeyId
public string? ExpectedProofKeyId { get; }
Property Value
- string
ExpectedProofKeyVersion
public string? ExpectedProofKeyVersion { get; }
Property Value
- string
ExpectedProofPolicyHash
public string? ExpectedProofPolicyHash { get; }
Property Value
- string
ExpectedProofPolicyVersion
public string? ExpectedProofPolicyVersion { get; }
Property Value
- string
GatewayBinding
public string? GatewayBinding { get; }
Property Value
- string
HandshakeId
public string? HandshakeId { get; }
Property Value
- string
Issuer
public string? Issuer { get; }
Property Value
- string
MaxUseCount
public int MaxUseCount { get; }
Property Value
- int
PolicyHash
public string? PolicyHash { get; }
Property Value
- string
PolicyVersion
public string? PolicyVersion { get; }
Property Value
- string
RequireAcknowledgmentReference
public bool RequireAcknowledgmentReference { get; }
Property Value
- bool
RequireProof
public bool RequireProof { get; }
Property Value
- bool
RequireUseCheck
public bool RequireUseCheck { get; }
Property Value
- bool
RequiredProofHashAlgorithm
public string? RequiredProofHashAlgorithm { get; }
Property Value
- string
RequiredProofProvider
public string? RequiredProofProvider { get; }
Property Value
- string
ResourceBinding
public string? ResourceBinding { get; }
Property Value
- string
Scopes
public IReadOnlyList<string> Scopes { get; }
Property Value
- IReadOnlyList<string>
ValidationUtc
public DateTimeOffset? ValidationUtc { get; }
Property Value
- DateTimeOffset?
Methods
Create(string?, string?, IEnumerable<string>?, DateTimeOffset?, string?, string?, string?, string?, string?, string?, bool, bool, bool, int, TimeSpan, string?, string?, string?, string?, string?, string?)
public static CapabilityGrantValidationOptions Create(string? issuer = null, string? audience = null, IEnumerable<string>? scopes = null, DateTimeOffset? validationUtc = null, string? policyVersion = null, string? policyHash = null, string? acknowledgmentId = null, string? handshakeId = null, string? gatewayBinding = null, string? resourceBinding = null, bool requireProof = false, bool requireAcknowledgmentReference = false, bool requireUseCheck = false, int maxUseCount = 1, TimeSpan allowedClockSkew = default, string? expectedProofKeyId = null, string? expectedProofKeyVersion = null, string? expectedProofPolicyVersion = null, string? expectedProofPolicyHash = null, string? requiredProofProvider = null, string? requiredProofHashAlgorithm = null)
Parameters
issuer string
audience string
scopes IEnumerable<string>
validationUtc DateTimeOffset?
policyVersion string
policyHash string
acknowledgmentId string
handshakeId string
gatewayBinding string
resourceBinding string
requireProof bool
requireAcknowledgmentReference bool
requireUseCheck bool
maxUseCount int
allowedClockSkew TimeSpan
expectedProofKeyId string
expectedProofKeyVersion string
expectedProofPolicyVersion string
expectedProofPolicyHash string
requiredProofProvider string
requiredProofHashAlgorithm string
Returns
- CapabilityGrantValidationOptions
CreateExecutionBoundary(string?, string?, IEnumerable<string>?, DateTimeOffset?, string?, string?, string?, string?, string?, string?, bool, bool, int, TimeSpan, string?, string?, string?, string?, string?, string?)
public static CapabilityGrantValidationOptions CreateExecutionBoundary(string? issuer = null, string? audience = null, IEnumerable<string>? scopes = null, DateTimeOffset? validationUtc = null, string? policyVersion = null, string? policyHash = null, string? acknowledgmentId = null, string? handshakeId = null, string? gatewayBinding = null, string? resourceBinding = null, bool requireAcknowledgmentReference = false, bool requireUseCheck = true, int maxUseCount = 1, TimeSpan allowedClockSkew = default, string? expectedProofKeyId = null, string? expectedProofKeyVersion = null, string? expectedProofPolicyVersion = null, string? expectedProofPolicyHash = null, string? requiredProofProvider = null, string? requiredProofHashAlgorithm = null)
Parameters
issuer string
audience string
scopes IEnumerable<string>
validationUtc DateTimeOffset?
policyVersion string
policyHash string
acknowledgmentId string
handshakeId string
gatewayBinding string
resourceBinding string
requireAcknowledgmentReference bool
requireUseCheck bool
maxUseCount int
allowedClockSkew TimeSpan
expectedProofKeyId string
expectedProofKeyVersion string
expectedProofPolicyVersion string
expectedProofPolicyHash string
requiredProofProvider string
requiredProofHashAlgorithm string
Returns
- CapabilityGrantValidationOptions
public static CapabilityGrantValidationOptions CreateMetadataValidation(string? issuer = null, string? audience = null, IEnumerable<string>? scopes = null, DateTimeOffset? validationUtc = null, string? policyVersion = null, string? policyHash = null, string? acknowledgmentId = null, string? handshakeId = null, string? gatewayBinding = null, string? resourceBinding = null, bool requireAcknowledgmentReference = false, TimeSpan allowedClockSkew = default)
Parameters
issuer string
audience string
scopes IEnumerable<string>
validationUtc DateTimeOffset?
policyVersion string
policyHash string
acknowledgmentId string
handshakeId string
gatewayBinding string
resourceBinding string
requireAcknowledgmentReference bool
allowedClockSkew TimeSpan
Returns
- CapabilityGrantValidationOptions