Class OpenIddictEntityFrameworkCoreScopeStoreResolver
Exposes a method allowing to resolve a scope store.
Inheritance
System.Object
OpenIddictEntityFrameworkCoreScopeStoreResolver
Namespace: OpenIddict.EntityFrameworkCore
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictEntityFrameworkCoreScopeStoreResolver : IOpenIddictScopeStoreResolver
Constructors
OpenIddictEntityFrameworkCoreScopeStoreResolver(OpenIddictEntityFrameworkCoreScopeStoreResolver.TypeResolutionCache, IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions>, IServiceProvider)
Declaration
public OpenIddictEntityFrameworkCoreScopeStoreResolver(OpenIddictEntityFrameworkCoreScopeStoreResolver.TypeResolutionCache cache, IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions> options, IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictEntityFrameworkCoreScopeStoreResolver.TypeResolutionCache | cache | |
IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions> | options | |
IServiceProvider | provider |
Methods
Get<TScope>()
Returns a scope store compatible with the specified scope type or throws an
Declaration
public IOpenIddictScopeStore<TScope> Get<TScope>()
where TScope : class
Returns
Type | Description |
---|---|
IOpenIddictScopeStore<TScope> | An |
Type Parameters
Name | Description |
---|---|
TScope | The type of the Scope entity. |