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
Afficher le fichier Open project: XacronDevelopment/oauth-aspnet

Méthodes publiques

Méthode Description
DataProtectorShim ( Microsoft protector ) : System
Protect ( byte userData ) : byte[]
Unprotect ( byte protectedData ) : byte[]

Method Details

DataProtectorShim() public méthode

public DataProtectorShim ( Microsoft protector ) : System
protector Microsoft
Résultat System

Protect() public méthode

public Protect ( byte userData ) : byte[]
userData byte
Résultat byte[]

Unprotect() public méthode

public Unprotect ( byte protectedData ) : byte[]
protectedData byte
Résultat byte[]