Sdílet prostřednictvím


BearerTokenOptions.BearerTokenProtector Vlastnost

Definice

Pokud je nastavená, BearerTokenProtector použije se k ochraně a zrušení ochrany identity a dalších vlastností, které jsou uložené v nosnému tokenu. Pokud není zadaný, vytvoří se pomocí TicketDataFormat a IDataProtectionProvider z aplikace 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)

Hodnota vlastnosti

Platí pro