|
|
|
@ -162,9 +162,9 @@ namespace OpenIddict.Core |
|
|
|
/// A <see cref="Task"/> that can be used to monitor the asynchronous operation, whose result
|
|
|
|
/// returns the client applications corresponding to the specified post_logout_redirect_uri.
|
|
|
|
/// </returns>
|
|
|
|
public virtual Task<TApplication[]> FindByLogoutRedirectUri(string address, CancellationToken cancellationToken) |
|
|
|
public virtual Task<TApplication[]> FindByLogoutRedirectUriAsync(string address, CancellationToken cancellationToken) |
|
|
|
{ |
|
|
|
return Store.FindByLogoutRedirectUri(address, cancellationToken); |
|
|
|
return Store.FindByLogoutRedirectUriAsync(address, cancellationToken); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -176,9 +176,9 @@ namespace OpenIddict.Core |
|
|
|
/// A <see cref="Task"/> that can be used to monitor the asynchronous operation, whose result
|
|
|
|
/// returns the client applications corresponding to the specified redirect_uri.
|
|
|
|
/// </returns>
|
|
|
|
public virtual Task<TApplication[]> FindByRedirectUri(string address, CancellationToken cancellationToken) |
|
|
|
public virtual Task<TApplication[]> FindByRedirectUriAsync(string address, CancellationToken cancellationToken) |
|
|
|
{ |
|
|
|
return Store.FindByRedirectUri(address, cancellationToken); |
|
|
|
return Store.FindByRedirectUriAsync(address, cancellationToken); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -527,7 +527,7 @@ namespace OpenIddict.Core |
|
|
|
{ |
|
|
|
// Warning: SQL engines like Microsoft SQL Server are known to use case-insensitive lookups by default.
|
|
|
|
// To ensure a case-sensitive comparison is used, string.Equals(Ordinal) is manually called here.
|
|
|
|
foreach (var application in await Store.FindByLogoutRedirectUri(address, cancellationToken)) |
|
|
|
foreach (var application in await Store.FindByLogoutRedirectUriAsync(address, cancellationToken)) |
|
|
|
{ |
|
|
|
// Note: the post_logout_redirect_uri must be compared using case-sensitive "Simple String Comparison".
|
|
|
|
if (string.Equals(address, await Store.GetLogoutRedirectUriAsync(application, cancellationToken), StringComparison.Ordinal)) |
|
|
|
|