Skip to main content

Abblix.Oidc.Server.Features.UriValidation Namespace

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.UriValidation Namespace

Classes
CompositeUriValidatorAggregates several IUriValidator instances under OR semantics: a URI is accepted as soon as any of the wrapped validators accepts it. Used to back a client whose configuration registers multiple equally-valid URIs (for example, several registered redirect URIs for the same client).
ExactMatchUriValidatorImplements the simple-string-comparison matching rule for redirect URIs (RFC 6749 §3.1.2.2): the candidate URI must equal a single registered absolute URI. Optionally strips the query and fragment from the candidate before comparison to accommodate clients that append dynamic query parameters at runtime.
UriValidatorFactoryProvides a factory method for creating URI validators. Depending on the number of URIs provided, it creates either a single exact match validator or a composite validator that combines multiple exact match validators.
Interfaces
IUriValidatorDecides whether a URI received from a client is acceptable for a given OAuth/OIDC use, most commonly the redirect URI matching rules of RFC 6749 §3.1.2 and the loopback / custom-scheme accommodations of RFC 8252 (OAuth 2.0 for Native Apps).