Class OpenIddictEntityFrameworkAuthorizationStoreResolver
Exposes a method allowing to resolve an authorization store.
Inheritance
System.Object
OpenIddictEntityFrameworkAuthorizationStoreResolver
Namespace: OpenIddict.EntityFramework
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictEntityFrameworkAuthorizationStoreResolver : IOpenIddictAuthorizationStoreResolver
Constructors
OpenIddictEntityFrameworkAuthorizationStoreResolver(OpenIddictEntityFrameworkAuthorizationStoreResolver.TypeResolutionCache, IOptionsMonitor<OpenIddictEntityFrameworkOptions>, IServiceProvider)
Declaration
public OpenIddictEntityFrameworkAuthorizationStoreResolver(OpenIddictEntityFrameworkAuthorizationStoreResolver.TypeResolutionCache cache, IOptionsMonitor<OpenIddictEntityFrameworkOptions> options, IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictEntityFrameworkAuthorizationStoreResolver.TypeResolutionCache | cache | |
IOptionsMonitor<OpenIddictEntityFrameworkOptions> | options | |
IServiceProvider | provider |
Methods
Get<TAuthorization>()
Returns an authorization store compatible with the specified authorization type or throws an
Declaration
public IOpenIddictAuthorizationStore<TAuthorization> Get<TAuthorization>()
where TAuthorization : class
Returns
Type | Description |
---|---|
IOpenIddictAuthorizationStore<TAuthorization> | An |
Type Parameters
Name | Description |
---|---|
TAuthorization | The type of the Authorization entity. |