Class AbpOpenIddictScopeStore
Inheritance
AbpOpenIddictScopeStore
Assembly: Volo.Abp.OpenIddict.Domain.dll
Syntax
public class AbpOpenIddictScopeStore : AbpOpenIddictStoreBase<IOpenIddictScopeRepository>, IOpenIddictScopeStore<OpenIddictScopeModel>
Constructors
AbpOpenIddictScopeStore(IOpenIddictScopeRepository, IUnitOfWorkManager, IGuidGenerator, AbpOpenIddictIdentifierConverter, IOpenIddictDbConcurrencyExceptionHandler, IOptions<AbpOpenIddictStoreOptions>)
Declaration
public AbpOpenIddictScopeStore(IOpenIddictScopeRepository repository, IUnitOfWorkManager unitOfWorkManager, IGuidGenerator guidGenerator, AbpOpenIddictIdentifierConverter identifierConverter, IOpenIddictDbConcurrencyExceptionHandler concurrencyExceptionHandler, IOptions<AbpOpenIddictStoreOptions> storeOptions)
Parameters
Methods
CountAsync(CancellationToken)
Declaration
public virtual ValueTask<long> CountAsync(CancellationToken cancellationToken)
Parameters
Returns
CountAsync<TResult>(Func<IQueryable<OpenIddictScopeModel>, IQueryable<TResult>>, CancellationToken)
Declaration
public virtual ValueTask<long> CountAsync<TResult>(Func<IQueryable<OpenIddictScopeModel>, IQueryable<TResult>> query, CancellationToken cancellationToken)
Parameters
Returns
Type Parameters
CreateAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask CreateAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
DeleteAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask DeleteAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
FindByIdAsync(string, CancellationToken)
Declaration
public virtual ValueTask<OpenIddictScopeModel> FindByIdAsync(string identifier, CancellationToken cancellationToken)
Parameters
Returns
FindByNameAsync(string, CancellationToken)
Declaration
public virtual ValueTask<OpenIddictScopeModel> FindByNameAsync(string name, CancellationToken cancellationToken)
Parameters
Returns
FindByNamesAsync(ImmutableArray<string>, CancellationToken)
Declaration
public virtual IAsyncEnumerable<OpenIddictScopeModel> FindByNamesAsync(ImmutableArray<string> names, CancellationToken cancellationToken)
Parameters
Returns
FindByResourceAsync(string, CancellationToken)
Declaration
public virtual IAsyncEnumerable<OpenIddictScopeModel> FindByResourceAsync(string resource, CancellationToken cancellationToken)
Parameters
Returns
GetAsync<TState, TResult>(Func<IQueryable<OpenIddictScopeModel>, TState, IQueryable<TResult>>, TState, CancellationToken)
Declaration
public virtual ValueTask<TResult> GetAsync<TState, TResult>(Func<IQueryable<OpenIddictScopeModel>, TState, IQueryable<TResult>> query, TState state, CancellationToken cancellationToken)
Parameters
Returns
Type Parameters
Name |
Description |
TState |
|
TResult |
|
GetDescriptionAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<string> GetDescriptionAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetDescriptionsAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<ImmutableDictionary<CultureInfo, string>> GetDescriptionsAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetDisplayNameAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<string> GetDisplayNameAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetDisplayNamesAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<ImmutableDictionary<CultureInfo, string>> GetDisplayNamesAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetIdAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<string> GetIdAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetNameAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<string> GetNameAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetPropertiesAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<ImmutableDictionary<string, JsonElement>> GetPropertiesAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
GetResourcesAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask<ImmutableArray<string>> GetResourcesAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
InstantiateAsync(CancellationToken)
Declaration
public virtual ValueTask<OpenIddictScopeModel> InstantiateAsync(CancellationToken cancellationToken)
Parameters
Returns
ListAsync(int?, int?, CancellationToken)
Declaration
public virtual IAsyncEnumerable<OpenIddictScopeModel> ListAsync(int? count, int? offset, CancellationToken cancellationToken)
Parameters
Returns
ListAsync<TState, TResult>(Func<IQueryable<OpenIddictScopeModel>, TState, IQueryable<TResult>>, TState, CancellationToken)
Declaration
public IAsyncEnumerable<TResult> ListAsync<TState, TResult>(Func<IQueryable<OpenIddictScopeModel>, TState, IQueryable<TResult>> query, TState state, CancellationToken cancellationToken)
Parameters
Returns
Type Parameters
Name |
Description |
TState |
|
TResult |
|
SetDescriptionAsync(OpenIddictScopeModel, string, CancellationToken)
Declaration
public virtual ValueTask SetDescriptionAsync(OpenIddictScopeModel scope, string description, CancellationToken cancellationToken)
Parameters
Returns
SetDescriptionsAsync(OpenIddictScopeModel, ImmutableDictionary<CultureInfo, string>, CancellationToken)
Declaration
public virtual ValueTask SetDescriptionsAsync(OpenIddictScopeModel scope, ImmutableDictionary<CultureInfo, string> descriptions, CancellationToken cancellationToken)
Parameters
Returns
SetDisplayNameAsync(OpenIddictScopeModel, string, CancellationToken)
Declaration
public virtual ValueTask SetDisplayNameAsync(OpenIddictScopeModel scope, string name, CancellationToken cancellationToken)
Parameters
Returns
SetDisplayNamesAsync(OpenIddictScopeModel, ImmutableDictionary<CultureInfo, string>, CancellationToken)
Declaration
public virtual ValueTask SetDisplayNamesAsync(OpenIddictScopeModel scope, ImmutableDictionary<CultureInfo, string> names, CancellationToken cancellationToken)
Parameters
Returns
SetNameAsync(OpenIddictScopeModel, string, CancellationToken)
Declaration
public virtual ValueTask SetNameAsync(OpenIddictScopeModel scope, string name, CancellationToken cancellationToken)
Parameters
Returns
SetPropertiesAsync(OpenIddictScopeModel, ImmutableDictionary<string, JsonElement>, CancellationToken)
Declaration
public virtual ValueTask SetPropertiesAsync(OpenIddictScopeModel scope, ImmutableDictionary<string, JsonElement> properties, CancellationToken cancellationToken)
Parameters
Returns
SetResourcesAsync(OpenIddictScopeModel, ImmutableArray<string>, CancellationToken)
Declaration
public virtual ValueTask SetResourcesAsync(OpenIddictScopeModel scope, ImmutableArray<string> resources, CancellationToken cancellationToken)
Parameters
Returns
UpdateAsync(OpenIddictScopeModel, CancellationToken)
Declaration
public virtual ValueTask UpdateAsync(OpenIddictScopeModel scope, CancellationToken cancellationToken)
Parameters
Returns
Implements
OpenIddict.Abstractions.IOpenIddictScopeStore<>
Extension Methods