Dela via


ITicketStore Interface

Definition

This provides an abstract storage mechanic to preserve identity information on the server while only sending a simple identifier key to the client. This is most commonly used to mitigate issues with serializing large identities into cookies.

public interface class ITicketStore
public interface ITicketStore
type ITicketStore = interface
Public Interface ITicketStore

Methods

RemoveAsync(String, CancellationToken)

Remove the identity associated with the given key.

RemoveAsync(String, HttpContext, CancellationToken)

Remove the identity associated with the given key.

RemoveAsync(String)

Remove the identity associated with the given key.

RenewAsync(String, AuthenticationTicket, CancellationToken)

Tells the store that the given identity should be updated.

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

Tells the store that the given identity should be updated.

RenewAsync(String, AuthenticationTicket)

Tells the store that the given identity should be updated.

RetrieveAsync(String, CancellationToken)

Retrieves an identity from the store for the given key.

RetrieveAsync(String, HttpContext, CancellationToken)

Retrieves an identity from the store for the given key.

RetrieveAsync(String)

Retrieves an identity from the store for the given key.

StoreAsync(AuthenticationTicket, CancellationToken)

Store the identity ticket and return the associated key.

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Store the identity ticket and return the associated key.

StoreAsync(AuthenticationTicket)

Store the identity ticket and return the associated key.

Applies to