BearerTokenOptions.RefreshTokenProtector 屬性

定義

如果設定, RefreshTokenProtector 則會用來保護及取消保護儲存在重新整理權杖中的身分識別和其他屬性。 如果未提供,將會使用 TicketDataFormatIDataProtectionProvider 應用程式 IServiceProvider 建立一個 。

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

屬性值

適用於