Class OidcClaimsRequestEntry

Assembly: redb.Identity.Core.dll

A single entry of the OIDC claims request parameter (OpenID Connect Core 1.0 §5.5.1):
{"name": null}, {"name": {"essential": true}},
{"sub": {"value": "..."}} or {"acr": {"values": ["1","2"]}}.

public sealed class OidcClaimsRequestEntry

Inheritance

Object→OidcClaimsRequestEntry

Properties

Essential

§5.5.1 — the RP marks the claim as Essential: it needs the claim to serve the End-User.

public bool Essential { get; init; }

Value

§5.5.1 — the RP requests this exact value for the claim.

public string? Value { get; init; }

Values

§5.5.1 — the RP will accept any one of these values.

public IReadOnlyList<string>? Values { get; init; }

Methods

Accepts(string?)

Whether a value we hold satisfies the RP's value / values constraint.

public bool Accepts(string? actual)