Class AuthenticatedRequest
All Authenticated Requests will derive from this class
Properties
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| RequestId | string | Unique identifier used to identify the request. Used when associating the request to the response. |
| RequestDate | dateTime | DateTime request was made. Request timeout is 1 minute. |
| Credentials | TokenCredentials | REQUIRED. The credentials given from your last response. |
TokenCredentials
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| PhoneKey | string | REQUIRED. The devices unique id. |
| SecurityToken | string | REQUIRED. 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
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| JHA.EPS.SharedService.Common.Validator.IValidatorContext | context |
Exceptions
| TYPE | DESCRIPTION |
|---|---|
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Credentials must pass authentication |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | The user must be enabled |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | The user's entity must exist in our system |