C# Class Emergy.Core.Services.UserKeyService

Inheritance: Microsoft.AspNet.Identity.PasswordHasher, IUserKeyService
Datei anzeigen Open project: gboduljak/Emergy Class Usage Examples

Public Methods

Method Description
GenerateRandomKey ( ) : string
HashKey ( string key ) : string
UserKeyService ( ) : System
VerifyKeys ( string hashedKey, string providedKey ) : bool

Method Details

GenerateRandomKey() public method

public GenerateRandomKey ( ) : string
return string

HashKey() public method

public HashKey ( string key ) : string
key string
return string

UserKeyService() public method

public UserKeyService ( ) : System
return System

VerifyKeys() public method

public VerifyKeys ( string hashedKey, string providedKey ) : bool
hashedKey string
providedKey string
return bool