C# Class Microsoft.AspNet.SignalR.Infrastructure.DataProtectionProviderProtectedData

Inheritance: IProtectedData
Show file Open project: SignalR/SignalR

Public Methods

Method Description
DataProtectionProviderProtectedData ( IDataProtectionProvider provider ) : System
Protect ( string data, string purpose ) : string
Unprotect ( string protectedValue, string purpose ) : string

Private Methods

Method Description
GetDataProtector ( string purpose ) : IDataProtector

Method Details

DataProtectionProviderProtectedData() public method

public DataProtectionProviderProtectedData ( IDataProtectionProvider provider ) : System
provider IDataProtectionProvider
return System

Protect() public method

public Protect ( string data, string purpose ) : string
data string
purpose string
return string

Unprotect() public method

public Unprotect ( string protectedValue, string purpose ) : string
protectedValue string
purpose string
return string