Class OpenIddictEntityFrameworkApplicationStoreResolver
Exposes a method allowing to resolve an application store.
Inheritance
System.Object
OpenIddictEntityFrameworkApplicationStoreResolver
Namespace: OpenIddict.EntityFramework
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictEntityFrameworkApplicationStoreResolver : IOpenIddictApplicationStoreResolver
Constructors
OpenIddictEntityFrameworkApplicationStoreResolver(OpenIddictEntityFrameworkApplicationStoreResolver.TypeResolutionCache, IOptionsMonitor<OpenIddictEntityFrameworkOptions>, IServiceProvider)
Declaration
public OpenIddictEntityFrameworkApplicationStoreResolver(OpenIddictEntityFrameworkApplicationStoreResolver.TypeResolutionCache cache, IOptionsMonitor<OpenIddictEntityFrameworkOptions> options, IServiceProvider provider)
Parameters
| Type | Name | Description |
|---|---|---|
| OpenIddictEntityFrameworkApplicationStoreResolver.TypeResolutionCache | cache | |
| IOptionsMonitor<OpenIddictEntityFrameworkOptions> | options | |
| System.IServiceProvider | provider |
Methods
Get<TApplication>()
Returns an application store compatible with the specified application type or throws an System.InvalidOperationException if no store can be built using the specified type.
Declaration
public IOpenIddictApplicationStore<TApplication> Get<TApplication>()
where TApplication : class
Returns
| Type | Description |
|---|---|
| IOpenIddictApplicationStore<TApplication> | An |
Type Parameters
| Name | Description |
|---|---|
| TApplication | The type of the Application entity. |