Class TokenCredentials
Credentials for subsequent web service requests
Properties
| 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": "TokenCredentials:#JackHenry.Eps.Mobile.RDA",
"SecurityToken": "String Content"
}
Methods
Validate(IValidatorContext)
Declaration
public void Validate(IValidatorContext context)
Parameters
| TYPE | NAME | DESCRIPTION |
|---|---|---|
| JHA.EPS.SharedService.Common.Validator.IValidatorContext | context |
Exceptions
| TYPE | DESCRIPTION |
|---|---|
| JHA.EPS.SharedService.Common.Validator.ValidationResult | SecurityToken must be between 1 and 200 characters |
| JHA.EPS.SharedService.Common.Validator.ValidationResult | SecurityToken must be valid in our system |