Skip to main content

Class SSOCredentials

Used to authenticate an SSO user.


Properties

NAMETYPEDESCRIPTION
PhoneKeystringREQUIRED. The unique id for the phone. A GUID created by the app vendor at first time use and stored in long term storage on the device which is intended to be unique to the device and application. Limit of 100 characters. Printable characters only.
FIIdentifierstringREQUIRED. A unique credential value provided by EPS that identifies a specific entity for the FI.
HashstringREQUIRED. A unique string value. Hashed value (either SHA256 or SHA512) used for comparison. The string values must be concatenated in this order: UserNumber + Timestamp + FIIdentifier + SharedSecret + SaltValue. Note that the Timestamp used for this hash should be in the format M/d/yyyy h:mm:ss tt. (e.g. 6/17/2019 7:20:40 PM).
SaltValuestringREQUIRED. Shared Salt value to make the hash unique.
TimestampDateTimeREQUIRED. Current Date time of the SSO authentication and must be within 10 minutes of the EPS server time. Required to be in the format M/d/yyyy h:mm:ss tt for non-json requests: (e.g., 6/17/2019 7:20:40 PM). Required to be in the format /Date(xxxxxxxxxx-yyy)/ for json requests: (e.g., /Date(1560860654524-300)/)
UserNumberstringREQUIRED. A string value with a unique identifier for the user.

Examples

{
"__type":"SSOCredentials:#JackHenry.Eps.Mobile.RDC",
"UserNumber":"String Content",
"FIIdentifier":"String Content",
"Timestamp":\/Date(1560799240498-300)\/, the number of milliseconds since January 1, 1970 00:00:00 UTC appended with the servers timezone offset (e.g. -300)
"SaltValue":"String Content",
"Hash":"String Content",
}

Methods

Validate(IValidatorContext)

Declaration

public override void Validate(IValidatorContext context)

Parameters

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

Overrides

CredentialsBase.Validate(IValidatorContext)

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultHomeBankingId cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultHomeBankingId must be between 1 and 50 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultHomeBankingId must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultFIIdentifier cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultFIIdentifier must be between 1 and 30 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultFIIdentifier must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultSaltValue cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultSaltValue must be between 1 and 100 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultSaltValue must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultHash cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultHash must be between 4 and 50 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultHash must contain visible characters