Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.Object> |
getAdditionalData()
Returns additional registration details from Access Manager.
|
java.lang.String |
getBiometricSampleUrl()
Returns the biometrics sample endpoint of Access Manager.
|
java.lang.String |
getClientId()
Returns the unique identifier between the service and the app.
|
java.lang.String |
getEnrollmentUrl()
Returns the challenge enrollment endpoint of Access Manager.
|
java.lang.String |
getErrorDescription()
Returns detailed information about the error.
|
java.lang.String |
getHotpUrl()
Returns the counter based one-time password token generator endpoint of Access Manager.
|
MobileKitException |
getMobileKitException()
Returns the exception in case of an error.
|
java.lang.String |
getOauthTokenUrl()
Returns the OAuth token endpoint of Access Manager.
|
java.lang.String |
getServiceName()
Returns the name of the service representing the Access Manager instance.
|
java.lang.String |
getTotpUrl()
Returns the time based one-time password token generator endpoint of Access Manager.
|
java.lang.String |
getTransactionsUrl()
Returns the transaction endpoint of Access Manager.
|
boolean |
hasError()
Returns whether to indicate an error.
|
static MfaRegistrationResult |
parse(org.json.JSONObject data)
Returns an instance of
MfaRegistrationResult parsed from the object. |
public java.lang.String getOauthTokenUrl()
public java.lang.String getEnrollmentUrl()
public java.lang.String getTransactionsUrl()
public java.lang.String getClientId()
public java.lang.String getHotpUrl()
public java.lang.String getTotpUrl()
public java.lang.String getBiometricSampleUrl()
public java.util.HashMap<java.lang.String,java.lang.Object> getAdditionalData()
public static MfaRegistrationResult parse(org.json.JSONObject data)
MfaRegistrationResult
parsed from the object.data
- the object to deserialize fromMfaRegistrationResult
public MobileKitException getMobileKitException()
getMobileKitException
in interface IResult
public boolean hasError()
public java.lang.String getErrorDescription()
getErrorDescription
in interface IResult
public java.lang.String getServiceName()
the value is determined by the presence of a key in the dictionary called
service_name
.
This value can be configured in Template Files under Secure Access Control on the appliance
by creating mmfa\\user\\mgmt\\metadata\\<oauth_client_id>\\metadata.json
.
In the absence of service_name
, the value of the OAuth client_id
is used,
which is also configurable on the appliance.