Skip to main content

Class AuthenticatedRequest

All Authenticated Requests will derive from this class


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.

TokenCredentials

NAMETYPEDESCRIPTION
PhoneKeystringREQUIRED. The devices unique id.
SecurityTokenstringREQUIRED. This is used for subsequent requests. Each response will issue a new token used for the next request. Each new token remains valid for 15 minutes unless logged out.

Examples

{
"__type": "AuthenticatedRequest:#JackHenry.Eps.Mobile.RDC",
"Credentials": {
"__type": "TokenCredentials:#JackHenry.Eps.Mobile.RDC",
"PhoneKey": "String Content",
"SecurityToken": "String Content"
}
}

Methods

Validate(IValidatorContext)

Declaration

public virtual void Validate(IValidatorContext context)

Parameters

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

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultCredentials must pass authentication
JHA.EPS.SharedService.Common.Validator.ValidationResultThe user must be enabled
JHA.EPS.SharedService.Common.Validator.ValidationResultThe user's entity must exist in our system