Dela via


BearerTokenOptions.BearerTokenProtector Property

Definition

If set, the BearerTokenProtector is used to protect and unprotect the identity and other properties which are stored in the bearer token. If not provided, one will be created using TicketDataFormat and the IDataProtectionProvider from the application IServiceProvider.

public Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket> BearerTokenProtector { get; set; }
member this.BearerTokenProtector : Microsoft.AspNetCore.Authentication.ISecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket> with get, set
Public Property BearerTokenProtector As ISecureDataFormat(Of AuthenticationTicket)

Property Value

Applies to