Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​Validation.​IRedirectUriValidator
Assembly: Duende.IdentityServer
Models the logic when validating redirect and post logout redirect URIs.
Methods
System.​Threading.​Tasks.​Task<​bool>
IsRedirectUriValidAsync​(string requestedUri,
Models.​Client client)
Determines whether a redirect URI is valid for a client.
Returns <c>true</c> is the URI is valid; <c>false</c> otherwise.
requestedUri
The requested URI.
client
The client.
System.​Threading.​Tasks.​Task<​bool>
IsRedirectUriValidAsync​(RedirectUriValidationContext context,
System.​Threading.​CancellationToken ct)
Determines whether a redirect URI is valid for a client.
context
The validation context.
ct
The cancellation token.
System.​Threading.​Tasks.​Task<​bool>
IsPostLogoutRedirectUriValidAsync​(string requestedUri,
Models.​Client client,
System.​Threading.​CancellationToken ct)
Determines whether a post logout URI is valid for a client.
Returns <c>true</c> is the URI is valid; <c>false</c> otherwise.
requestedUri
The requested URI.
client
The client.
ct
The cancellation token.