|
|
|
@ -71,13 +71,13 @@ namespace OpenIddict.Core |
|
|
|
public abstract Task DeleteAsync([NotNull] TScope scope, CancellationToken cancellationToken); |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Retrieves an authorization using its unique identifier.
|
|
|
|
/// Retrieves a scope using its unique identifier.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="identifier">The unique identifier associated with the authorization.</param>
|
|
|
|
/// <param name="identifier">The unique identifier associated with the scope.</param>
|
|
|
|
/// <param name="cancellationToken">The <see cref="CancellationToken"/> that can be used to abort the operation.</param>
|
|
|
|
/// <returns>
|
|
|
|
/// A <see cref="Task"/> that can be used to monitor the asynchronous operation,
|
|
|
|
/// whose result returns the authorization corresponding to the identifier.
|
|
|
|
/// whose result returns the scope corresponding to the identifier.
|
|
|
|
/// </returns>
|
|
|
|
public virtual Task<TScope> FindByIdAsync([NotNull] string identifier, CancellationToken cancellationToken) |
|
|
|
{ |
|
|
|
|