Skip to main content

Class AuthTokenCredentials

Contains the information for a user to authenticate.


Properties

NAMETYPEDESCRIPTION
PhoneKeystringREQUIRED. 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.
CompanystringREQUIRED. The users company name.
DeviceIdstringREQUIRED. The users device id.
SignedDigestBase64stringREQUIRED. Signed Auth Token, Base64 encoded.
UserNamestringREQUIRED. The users login name.

Examples

{
"__type": "AuthTokenCredentials:#JackHenry.Eps.Mobile.RDC",
"UserName": "String Content",
"Company": "String Content",
"DeviceId": "String Content",
"SignedDigestBase64": "String Content"
}

Methods

Validate(IValidatorContext)

Declaration

public override void Validate(IValidatorContext context)

Parameters

TYPENAMEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.IValidatorContextcontext

Overrides

CredentialsBase.Validate(IValidatorContext)

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultUserName cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultCompany cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultDeviceId cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultSignedDigestBase64 cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultSignedDigestBase64 must be Base64 encoded