BearerTokenOptions.RefreshTokenProtector 属性

定义

如果设置, RefreshTokenProtector 用于保护和取消保护存储在刷新令牌中的标识和其他属性。 如果未提供,将使用 TicketDataFormat 创建一个 ,并从 IDataProtectionProvider 应用程序 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)

属性值

适用于