C# Class OAuth.Owin.Tokens.DataProtectorShim

Converts a Microsoft.AspNet.DataProtection.IDataProtector to a Microsoft.Owin.Security.DataProtection.IDataProtector.
Inheritance: Microsoft.Owin.Security.DataProtection.IDataProtector
Mostra file Open project: XacronDevelopment/oauth-aspnet

Public Methods

Method Description
DataProtectorShim ( Microsoft protector ) : System
Protect ( byte userData ) : byte[]
Unprotect ( byte protectedData ) : byte[]

Method Details

DataProtectorShim() public method

public DataProtectorShim ( Microsoft protector ) : System
protector Microsoft
return System

Protect() public method

public Protect ( byte userData ) : byte[]
userData byte
return byte[]

Unprotect() public method

public Unprotect ( byte protectedData ) : byte[]
protectedData byte
return byte[]