Class MFACredentials
Used to authenticate once the UserCredentials are authenticated.
Properties
NAME | TYPE | DESCRIPTION |
---|---|---|
PhoneKey | string | REQUIRED. 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. |
MFA | MFADetail | REQUIRED. Contains the information used to track MFA authentication. |
MFADetail
NAME | TYPE | DESCRIPTION |
---|---|---|
Questions | MFAQuestion[] | The questions if needed. |
SecurityToken | string | A token used for subsequent MFA requests. Token remains valid for 20 minutes unless logged out. |
Status | MFAStatus | The 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
TYPE | NAME | DESCRIPTION |
---|---|---|
JHA.EPS.SharedService.Common.Validator.IValidatorContext | context |
Overrides
AuthenticatedRequest.Validate(IValidatorContext)
Exceptions
TYPE | DESCRIPTION |
---|---|
JHA.EPS.SharedService.Common.Validator.ValidationResult | Credentials cannot be null |
JHA.EPS.SharedService.Common.Validator.ValidationResult | Cannot supply duplicate questions |
JHA.EPS.SharedService.Common.Validator.ValidationResult | MFA Status must match the system |
JHA.EPS.SharedService.Common.Validator.ValidationResult | All Questions must be answered |
JHA.EPS.SharedService.Common.Validator.ValidationResult | Transaction Id's must match |