Class CacheTicketStoreOptions
- Namespace
- Arc4u.OAuth2.TicketStore
- Assembly
- Arc4u.OAuth2.AspNetCore.Authentication.dll
Configures the CacheTicketStore.
public class CacheTicketStoreOptions
- Inheritance
-
CacheTicketStoreOptions
- Inherited Members
Properties
CacheName
Gets or sets the name of the cache in which the tickets are stored. The default is Default.
public string CacheName { get; set; }
Property Value
DataProtectionPurpose
Gets or sets the Data Protection purpose under which the tickets are encrypted. The default is
DefaultPurpose (Arc4u.TicketStore.v1). It is not a secret: it separates the tickets from
the other uses of the key ring. Changing it makes every stored ticket unreadable, so every user signs in again once; an application
whose sessions were encrypted under another purpose (such as Arc4u.Portal's Portal.TicketStore.v1) sets it to keep them.
public string DataProtectionPurpose { get; set; }
Property Value
KeyPrefix
Gets or sets the prefix of the keys of the tickets. The default is AuthSessionStore-.
public string KeyPrefix { get; set; }