IUriValidator Interface
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.UriValidation
IUriValidator Interface
Decides 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).
public interface IUriValidator
Derived
↳ CompositeUriValidator
↳ ExactMatchUriValidator
Methods
IUriValidator.IsValid(Uri) Method
Validates the specified URI against predefined rules.
bool IsValid(System.Uri uri);
Parameters
uri System.Uri
The URI to validate.
Returns
System.Boolean
true if the URI meets the validation criteria; otherwise, false.