Skip to main content

Class AuthenticatedRequest

All Authenticated Requests will derive from this class


Properties

NAMETYPEDESCRIPTION
RequestIdSystem.stringUnique identifier used to identify the request. Used when associating the request to the response.
RequestDateSystem.DateTimeDateTime request was made. Request timeout is 1 minute.
Credentials TokenCredentials REQUIRED. Generic object representing different security token validation options to authenticate to the EPS system.

TokenCredentials

NAMETYPEDESCRIPTION
SecurityTokenSystem.StringREQUIRED. A security token representing an authenticated user which will be used in subsequent calls. The token expires after 20 minutes. Subsequent calls with a token will respond with a new token that should be used to replace the old token, however a new token will not invalidate the old token and will still remain active for 20 minutes.

Examples

{
"__type": "AuthenticatedRequest:#JackHenry.Eps.Mobile.RDA",
"Credentials": {
"__type": "TokenCredentials:#JackHenry.Eps.Mobile.RDA",
"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 customer must be enabled
JHA.EPS.SharedService.Common.Validator.ValidationResultThe customer's entity must exist in our system
JHA.EPS.SharedService.Common.Validator.ValidationResultTerms and Conditions must be accepted