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
Audience
public string? Audience { 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
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)
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)
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
Returns
- CapabilityGrantValidationOptions