Interface IConsentMessageStore
- Namespace
- Duende.IdentityServer.Stores
- Assembly
- Duende.IdentityServer.dll
Interface for consent messages that are sent from the consent UI to the authorization endpoint.
public interface IConsentMessageStore
Methods
DeleteAsync(string)
Deletes the consent response message.
Task DeleteAsync(string id)
Parameters
idstringThe identifier.
Returns
ReadAsync(string)
Reads the consent response message.
Task<Message<ConsentResponse>> ReadAsync(string id)
Parameters
idstringThe identifier.
Returns
WriteAsync(string, Message<ConsentResponse>)
Writes the consent response message.
Task WriteAsync(string id, Message<ConsentResponse> message)
Parameters
idstringThe id for the message.
messageMessage<ConsentResponse>The message.