Class CapabilityGrant
Namespace: DotBoxD.Kernels
Assembly: DotBoxD.Kernels.dll
public sealed record CapabilityGrant : IEquatable<CapabilityGrant>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”CapabilityGrant(string, IReadOnlyDictionary<string, string>, DateTimeOffset?, string, string)
Section titled “ CapabilityGrant(string, IReadOnlyDictionary<string, string>, DateTimeOffset?, string, string)”public CapabilityGrant(string Id, IReadOnlyDictionary<string, string> Parameters, DateTimeOffset? ExpiresAt = null, string GrantedBy = "host-policy", string Reason = "")Parameters
Section titled “Parameters”Id string
Parameters IReadOnlyDictionary<string, string>
ExpiresAt DateTimeOffset?
GrantedBy string
Reason string
Properties
Section titled “Properties”ExpiresAt
Section titled “ ExpiresAt”public DateTimeOffset? ExpiresAt { get; init; }Property Value
Section titled “Property Value”GrantedBy
Section titled “ GrantedBy”public string GrantedBy { get; init; }Property Value
Section titled “Property Value”public string Id { get; init; }Property Value
Section titled “Property Value”Parameters
Section titled “ Parameters”public IReadOnlyDictionary<string, string> Parameters { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Reason
Section titled “ Reason”public string Reason { get; init; }