ITicketStore Rozhraní

Definice

Tím se poskytne abstraktní mechanika úložiště pro zachování informací o identitě na serveru, zatímco klientovi se odesílá pouze jednoduchý klíč identifikátoru. Nejčastěji se používá ke zmírnění problémů se serializací velkých identit do souborů cookie.

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

Metody

RemoveAsync(String)

Odeberte identitu přidruženou k danému klíči.

RemoveAsync(String, CancellationToken)

Odeberte identitu přidruženou k danému klíči.

RemoveAsync(String, HttpContext, CancellationToken)

Odeberte identitu přidruženou k danému klíči.

RenewAsync(String, AuthenticationTicket)

Sděluje úložišti, že by se daná identita měla aktualizovat.

RenewAsync(String, AuthenticationTicket, CancellationToken)

Sděluje úložišti, že by se daná identita měla aktualizovat.

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

Sděluje úložišti, že by se daná identita měla aktualizovat.

RetrieveAsync(String)

Načte z úložiště identitu pro daný klíč.

RetrieveAsync(String, CancellationToken)

Načte z úložiště identitu pro daný klíč.

RetrieveAsync(String, HttpContext, CancellationToken)

Načte z úložiště identitu pro daný klíč.

StoreAsync(AuthenticationTicket)

Uložte lístek identity a vraťte přidružený klíč.

StoreAsync(AuthenticationTicket, CancellationToken)

Uložte lístek identity a vraťte přidružený klíč.

StoreAsync(AuthenticationTicket, HttpContext, CancellationToken)

Uložte lístek identity a vraťte přidružený klíč.

Platí pro