SecureDataFormat<TData> Class

Definition

An implementation for ISecureDataFormat<TData>.

generic <typename TData>
public ref class SecureDataFormat : Microsoft::AspNetCore::Authentication::ISecureDataFormat<TData>
public class SecureDataFormat<TData> : Microsoft.AspNetCore.Authentication.ISecureDataFormat<TData>
type SecureDataFormat<'Data> = class
    interface ISecureDataFormat<'Data>
Public Class SecureDataFormat(Of TData)
Implements ISecureDataFormat(Of TData)

Type Parameters

TData
Inheritance
SecureDataFormat<TData>
Derived
Implements

Constructors

SecureDataFormat<TData>(IDataSerializer<TData>, IDataProtector)

Initializes a new instance of SecureDataFormat<TData>.

Methods

Protect(TData)

Protects the specified data.

Protect(TData, String)

Protects the specified data for the specified purpose.

Unprotect(String)

Unprotects the specified protectedText.

Unprotect(String, String)

Unprotects the specified protectedText using the specified purpose.

Applies to