Skip to main content

Class TokenCredentials

Credentials for subsequent web service requests


Properties

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": "TokenCredentials:#JackHenry.Eps.Mobile.RDA",
"SecurityToken": "String Content"
}

Methods

Validate(IValidatorContext)

Declaration

public void Validate(IValidatorContext context)

Parameters

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

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultSecurityToken must be between 1 and 200 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultSecurityToken must be valid in our system