Skip to main content

Class MFACredentials

Used to authenticate once the UserCredentials are authenticated.


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.
MFAMFADetailREQUIRED. Contains the information used to track MFA authentication.

MFADetail

NAMETYPEDESCRIPTION
QuestionsMFAQuestion[]The questions if needed.
SecurityTokenstringA token used for subsequent MFA requests. Token remains valid for 20 minutes unless logged out.
StatusMFAStatusThe status for MFA.

Examples

{
"__type":"MFACredentials:#JackHenry.Eps.Mobile.RDC",
"MFA":
{
"__type":"MFADetail:#JackHenry.Eps.Mobile.RDC",
"SecurityToken":"String Content",
"Status":MFAStatus.None,
"Questions":
[
{
"__type":"MFAQuestion:#JackHenry.Eps.Mobile.RDC",
"Id":0,
"Question":"String Content",
"Answer":"String Content",
"TransactionId":"String Content",
}
],
}
}

Methods

Validate(IValidatorContext)

Declaration

public override void Validate(IValidatorContext context)

Parameters

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

Overrides

AuthenticatedRequest.Validate(IValidatorContext)

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultCredentials cannot be null
JHA.EPS.SharedService.Common.Validator.ValidationResultCannot supply duplicate questions
JHA.EPS.SharedService.Common.Validator.ValidationResultMFA Status must match the system
JHA.EPS.SharedService.Common.Validator.ValidationResultAll Questions must be answered
JHA.EPS.SharedService.Common.Validator.ValidationResultTransaction Id's must match