Table of Contents

Class DefaultBackChannelAuthenticationRequestStore

Namespace
Duende.IdentityServer.Stores
Assembly
Duende.IdentityServer.dll

Default authorization code store.

public class DefaultBackChannelAuthenticationRequestStore : DefaultGrantStore<BackChannelAuthenticationRequest>, IBackChannelAuthenticationRequestStore
Inheritance
DefaultGrantStore<BackChannelAuthenticationRequest>
DefaultBackChannelAuthenticationRequestStore
Implements
IBackChannelAuthenticationRequestStore
Inherited Members

Constructors

DefaultBackChannelAuthenticationRequestStore(IPersistedGrantStore, IPersistentGrantSerializer, IHandleGenerationService, ILogger<DefaultBackChannelAuthenticationRequestStore>)

Initializes a new instance of the DefaultAuthorizationCodeStore class.

public DefaultBackChannelAuthenticationRequestStore(IPersistedGrantStore store, IPersistentGrantSerializer serializer, IHandleGenerationService handleGenerationService, ILogger<DefaultBackChannelAuthenticationRequestStore> logger)

Parameters

store IPersistedGrantStore

The store.

serializer IPersistentGrantSerializer

The serializer.

handleGenerationService IHandleGenerationService

The handle generation service.

logger ILogger<DefaultBackChannelAuthenticationRequestStore>

The logger.

Methods

CreateRequestAsync(BackChannelAuthenticationRequest)

public Task<string> CreateRequestAsync(BackChannelAuthenticationRequest request)

Parameters

request BackChannelAuthenticationRequest

Returns

Task<string>

GetByAuthenticationRequestIdAsync(string)

public Task<BackChannelAuthenticationRequest> GetByAuthenticationRequestIdAsync(string requestId)

Parameters

requestId string

Returns

Task<BackChannelAuthenticationRequest>

GetByInternalIdAsync(string)

public Task<BackChannelAuthenticationRequest> GetByInternalIdAsync(string id)

Parameters

id string

Returns

Task<BackChannelAuthenticationRequest>

GetLoginsForUserAsync(string, string)

public Task<IEnumerable<BackChannelAuthenticationRequest>> GetLoginsForUserAsync(string subjectId, string clientId = null)

Parameters

subjectId string
clientId string

Returns

Task<IEnumerable<BackChannelAuthenticationRequest>>

RemoveByInternalIdAsync(string)

public Task RemoveByInternalIdAsync(string requestId)

Parameters

requestId string

Returns

Task

UpdateByInternalIdAsync(string, BackChannelAuthenticationRequest)

public Task UpdateByInternalIdAsync(string id, BackChannelAuthenticationRequest request)

Parameters

id string
request BackChannelAuthenticationRequest

Returns

Task