Show / Hide Table of Contents

Class OpenIddictEntityFrameworkTokenStoreResolver

Exposes a method allowing to resolve a token store.

Inheritance
System.Object
OpenIddictEntityFrameworkTokenStoreResolver
Namespace: OpenIddict.EntityFramework
Assembly: cs.temp.dll.dll
Syntax
public class OpenIddictEntityFrameworkTokenStoreResolver : IOpenIddictTokenStoreResolver

Constructors

OpenIddictEntityFrameworkTokenStoreResolver(OpenIddictEntityFrameworkTokenStoreResolver.TypeResolutionCache, IOptionsMonitor<OpenIddictEntityFrameworkOptions>, IServiceProvider)

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

Methods

Get<TToken>()

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

Declaration
public IOpenIddictTokenStore<TToken> Get<TToken>()
    where TToken : class
Returns
Type Description
IOpenIddictTokenStore<TToken>

An .

Type Parameters
Name Description
TToken

The type of the Token entity.

In This Article
Back to top Generated by DocFX