C# Class Investor.Common.Service.Client.Data.AuthenticationRepository

Inheritance: IAuthenticationRepository
Show file Open project: johnhinz/Investor

Public Methods

Method Description
AuthenticationRepository ( ) : Investor.Common.Shared.EntityFramework
Create ( string user, string pass ) : bool
Delete ( string user, string pass ) : bool
Read ( string user, string pass ) : bool
Update ( string user, string pass ) : bool
Verify ( string user, string pass ) : bool
VerifyHash ( string plainText, string hashValue ) : bool

Private Methods

Method Description
ComputeHash ( string plainText, byte saltBytes ) : string

Method Details

AuthenticationRepository() public method

public AuthenticationRepository ( ) : Investor.Common.Shared.EntityFramework
return Investor.Common.Shared.EntityFramework

Create() public method

public Create ( string user, string pass ) : bool
user string
pass string
return bool

Delete() public method

public Delete ( string user, string pass ) : bool
user string
pass string
return bool

Read() public method

public Read ( string user, string pass ) : bool
user string
pass string
return bool

Update() public method

public Update ( string user, string pass ) : bool
user string
pass string
return bool

Verify() public method

public Verify ( string user, string pass ) : bool
user string
pass string
return bool

VerifyHash() public method

public VerifyHash ( string plainText, string hashValue ) : bool
plainText string
hashValue string
return bool