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
IPersistedGrantStoreThe store.
serializer
IPersistentGrantSerializerThe serializer.
handleGenerationService
IHandleGenerationServiceThe handle generation service.
logger
ILogger<DefaultBackChannelAuthenticationRequestStore>The logger.
Methods
CreateRequestAsync(BackChannelAuthenticationRequest)
public Task<string> CreateRequestAsync(BackChannelAuthenticationRequest request)
Parameters
request
BackChannelAuthenticationRequest
Returns
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
Returns
- Task<IEnumerable<BackChannelAuthenticationRequest>>
RemoveByInternalIdAsync(string)
public Task RemoveByInternalIdAsync(string requestId)
Parameters
requestId
string
Returns
UpdateByInternalIdAsync(string, BackChannelAuthenticationRequest)
public Task UpdateByInternalIdAsync(string id, BackChannelAuthenticationRequest request)
Parameters
id
stringrequest
BackChannelAuthenticationRequest