Show / Hide Table of Contents

Class OpenIddictEntityFrameworkCoreAuthorizationStoreResolver

Exposes a method allowing to resolve an authorization store.

Inheritance
System.Object
OpenIddictEntityFrameworkCoreAuthorizationStoreResolver
Namespace: OpenIddict.EntityFrameworkCore
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictEntityFrameworkCoreAuthorizationStoreResolver : IOpenIddictAuthorizationStoreResolver

Constructors

OpenIddictEntityFrameworkCoreAuthorizationStoreResolver(OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.TypeResolutionCache, IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions>, IServiceProvider)

Declaration
public OpenIddictEntityFrameworkCoreAuthorizationStoreResolver(OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.TypeResolutionCache cache, IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions> options, IServiceProvider provider)
Parameters
Type Name Description
OpenIddictEntityFrameworkCoreAuthorizationStoreResolver.TypeResolutionCache cache
IOptionsMonitor<OpenIddictEntityFrameworkCoreOptions> options
System.IServiceProvider provider

Methods

Get<TAuthorization>()

Returns an authorization store compatible with the specified authorization type or throws an System.InvalidOperationException if no store can be built using the specified type.

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.

In This Article
Back to top Generated by DocFX