TicketDataFormat 類別

定義

public ref class TicketDataFormat : Microsoft::AspNetCore::Authentication::SecureDataFormat<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^>
public class TicketDataFormat : Microsoft.AspNetCore.Authentication.SecureDataFormat<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
type TicketDataFormat = class
    inherit SecureDataFormat<AuthenticationTicket>
Public Class TicketDataFormat
Inherits SecureDataFormat(Of AuthenticationTicket)
繼承

建構函式

TicketDataFormat(IDataProtector)

初始化 TicketDataFormat 的新執行個體。

方法

Protect(TData)

保護指定的 data

(繼承來源 SecureDataFormat<TData>)
Protect(TData, String)

data保護指定之 的 purpose

(繼承來源 SecureDataFormat<TData>)
Unprotect(String)

取消保護指定的 protectedText

(繼承來源 SecureDataFormat<TData>)
Unprotect(String, String)

使用指定的 取消保護指定的 protectedTextpurpose

(繼承來源 SecureDataFormat<TData>)

適用於