C# Class AdventureWorks.WebServices.Controllers.IdentityController

Inheritance: ApiController
ファイルを表示 Open project: PrismLibrary/Prism-Samples-Windows Class Usage Examples

Public Methods

Method Description
GetIsValid ( string id, string requestId, string passwordHash ) : AdventureWorks.WebServices.Models.UserInfo
GetPasswordChallenge ( string requestId ) : string

Private Methods

Method Description
DecodeFromHexString ( string hex ) : byte[]
EncodeToHexString ( byte hexBytes ) : string
GetIsValidSession ( ) : bool

Method Details

GetIsValid() public method

public GetIsValid ( string id, string requestId, string passwordHash ) : AdventureWorks.WebServices.Models.UserInfo
id string
requestId string
passwordHash string
return AdventureWorks.WebServices.Models.UserInfo

GetPasswordChallenge() public method

public GetPasswordChallenge ( string requestId ) : string
requestId string
return string