Class OpenIddictScopeStoreResolver
Exposes a method allowing to resolve a scope store.
Inheritance
System.Object
OpenIddictScopeStoreResolver
Namespace: OpenIddict.Core
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictScopeStoreResolver : IOpenIddictScopeStoreResolver
Constructors
OpenIddictScopeStoreResolver(IServiceProvider)
Declaration
public OpenIddictScopeStoreResolver(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | provider |
Methods
Get<TScope>()
Returns a scope store compatible with the specified scope type or throws an System.InvalidOperationException if no store can be built using the specified type.
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. |