Skip to main content

Class RegisterForAuthTokenRequest

This method is used to register for token authentication


Properties

NAMETYPEDESCRIPTION
RequestIdstringUnique identifier used to identify the request. Used when associating the request to the response.
RequestDatedateTimeDateTime request was made. Request timeout is 1 minute.
CredentialsTokenCredentialsREQUIRED. The credentials given from your last response.
CompanystringREQUIRED. Max length 30 chars.
DeviceIdstringREQUIRED. Max length 50 chars.
PublicKeyBase64stringREQUIRED. Public Key Base64 encoded. Max length 4000 chars.
UserNamestringREQUIRED. Max length 30 chars.

Examples

{
"__type":"RegisterForAuthTokenRequest:#JackHenry.Eps.Mobile.RDC",
"UserName":
"Company":
"DeviceId":
"PublicKeyBase64":
}

Methods

Validate(IValidatorContext)

Declaration

public override void Validate(IValidatorContext context)

Parameters

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

Overrides

AuthenticatedRequest.Validate(IValidatorContext)

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultUserName cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultUserName must be between 1-30 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultUserName must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultCompany cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultCompany must be between 1-30 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultCompany must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultDeviceId cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultDeviceId must be between 1-50 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultDeviceId must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultPublicKeyBase64 cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultPublicKeyBase64 must be between 1-4000 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultPublicKeyBase64 must be Base64 encoded