Class AuthenticatedRequest
All Authenticated Requests will derive from this class
Properties
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| RequestId | System.string | Unique identifier used to identify the request. Used when associating the request to the response. |
| RequestDate | System.DateTime | DateTime 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
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| SecurityToken | System.String | REQUIRED. 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
| 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 customer must be enabled |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | The customer's entity must exist in our system |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | Terms and Conditions must be accepted |