Table of Contents

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

id string

The identifier.

Returns

Task

ReadAsync(string)

Reads the consent response message.

Task<Message<ConsentResponse>> ReadAsync(string id)

Parameters

id string

The identifier.

Returns

Task<Message<ConsentResponse>>

WriteAsync(string, Message<ConsentResponse>)

Writes the consent response message.

Task WriteAsync(string id, Message<ConsentResponse> message)

Parameters

id string

The id for the message.

message Message<ConsentResponse>

The message.

Returns

Task