Class UserCredentials
Contains the information for a user to authenticate.
Properties
NAME | TYPE | DESCRIPTION |
---|---|---|
PhoneKey | string | REQUIRED. The unique id for the phone. A GUID created by the app vendor at first time use and stored in long term storage on the device which is intended to be unique to the device and application. Limit of 100 characters. Printable characters only. |
Company | string | REQUIRED. The users company name. |
Password | string | REQUIRED. The users password. |
UserName | string | REQUIRED. The users login name. |
Examples
{
"__type": "UserCredentials:#JackHenry.Eps.Mobile.RDC",
"UserName": "String Content",
"Password": "String Content",
"Company": "String Content"
}
Methods
Validate(IValidatorContext)
Declaration
public override void Validate(IValidatorContext context)
Parameters
TYPE | NAME | DESCRIPTION |
---|---|---|
JHA.EPS.SharedService.Common.Validator.IValidatorContext | context |
Overrides
CredentialsBase.Validate(IValidatorContext)
Exceptions
TYPE | DESCRIPTION |
---|---|
JHA.EPS.SharedService.Common.Validator.ValidationResult | Company cannot be null |
JHA.EPS.SharedService.Common.Validator.ValidationResult | Password cannot be null |
JHA.EPS.SharedService.Common.Validator.ValidationResult | UserName cannot be null |