RequestedClaimDetails Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.Storages.Proto
RequestedClaimDetails Class
Details of a requested claim per OpenID Connect Core specification
public sealed class RequestedClaimDetails : Google.Protobuf.IMessage<Abblix.Oidc.Server.Features.Storages.Proto.RequestedClaimDetails>, Google.Protobuf.IMessage, System.IEquatable<Abblix.Oidc.Server.Features.Storages.Proto.RequestedClaimDetails>, Google.Protobuf.IDeepCloneable<Abblix.Oidc.Server.Features.Storages.Proto.RequestedClaimDetails>, Google.Protobuf.IBufferMessage
Inheritance System.Object → RequestedClaimDetails
Implements Google.Protobuf.IMessage<RequestedClaimDetails>, Google.Protobuf.IMessage, System.IEquatable<RequestedClaimDetails>, Google.Protobuf.IDeepCloneable<RequestedClaimDetails>, Google.Protobuf.IBufferMessage
Fields
RequestedClaimDetails.EssentialFieldNumber Field
Field number for the "essential" field.
public const int EssentialFieldNumber = 1;
Field Value
RequestedClaimDetails.ValueFieldNumber Field
Field number for the "value" field.
public const int ValueFieldNumber = 2;
Field Value
RequestedClaimDetails.ValuesFieldNumber Field
Field number for the "values" field.
public const int ValuesFieldNumber = 3;
Field Value
Properties
RequestedClaimDetails.Essential Property
Whether the claim is essential for authorization
public bool Essential { get; set; }
Property Value
RequestedClaimDetails.HasEssential Property
Gets whether the "essential" field is set
public bool HasEssential { get; }
Property Value
RequestedClaimDetails.Value Property
Specific value the claim should have (any JSON type: string, number, boolean, object, array, null). Used when requesting a claim with an exact required value. Example: { "email": { "value": "user@example.com" } }
public Google.Protobuf.WellKnownTypes.Value Value { get; set; }
Property Value
Google.Protobuf.WellKnownTypes.Value
RequestedClaimDetails.Values Property
Set of acceptable values for the claim (array of any JSON types). Used when multiple values are acceptable for the claim. Example: { "locale": { "values": ["en-US", "en-GB", "en"] } }
public Google.Protobuf.WellKnownTypes.ListValue Values { get; set; }
Property Value
Google.Protobuf.WellKnownTypes.ListValue
Methods
RequestedClaimDetails.ClearEssential() Method
Clears the value of the "essential" field
public void ClearEssential();