C# Class iGoat.Domain.SecurityService

Inheritance: ISecurityService
Show file Open project: AcklenAvenue/iGoat-Delivery-Back-End

Public Methods

Method Description
GetAuthKey ( string userName, string password ) : string
GetUser ( AuthorizationRequest authorizationRequest ) : User
SecurityService ( IAuthKeyProvider authKeyProvider, IUserRepository userRepository ) : System

Private Methods

Method Description
CheckStatus ( User user ) : void

Method Details

GetAuthKey() public method

public GetAuthKey ( string userName, string password ) : string
userName string
password string
return string

GetUser() public method

public GetUser ( AuthorizationRequest authorizationRequest ) : User
authorizationRequest AuthorizationRequest
return User

SecurityService() public method

public SecurityService ( IAuthKeyProvider authKeyProvider, IUserRepository userRepository ) : System
authKeyProvider IAuthKeyProvider
userRepository IUserRepository
return System