Interface IMessageStore<TModel>
- Namespace
- Duende.IdentityServer.Stores
- Assembly
- Duende.IdentityServer.dll
Interface for a message store
public interface IMessageStore<TModel>
Type Parameters
TModel
The type of the model.
Methods
ReadAsync(string)
Reads the message.
Task<Message<TModel>> ReadAsync(string id)
Parameters
id
stringThe identifier.
Returns
WriteAsync(Message<TModel>)
Writes the message.
Task<string> WriteAsync(Message<TModel> message)
Parameters
message
Message<TModel>The message.