Syntax
ConsumerAuthenticationResult
consumerAuthentication
(
final SubTransaction
txn
,
final Integer
payeeAuthenticationMethod
,
final String
payeeAuthToken
,
final boolean
resetPayeeAuth
,
final Integer
payerAuthenticationMethod
,
final String
payerAuthToken
,
final boolean
resetPayerAuth
) throws MobiliserServiceException
Parameters
-
txn –
the transaction to authenticate
-
payeeAuthenticationMethod –
the auth method for the payee
-
payeeAuthToken –
the auth token for the payee
-
payerAuthenticationMethod –
the auth method for the payer
-
payerAuthToken –
the auth token for the payer
Returns
ConsumerAuthenticationResultthe result of the authentication:
- FAILED_BOTH: authentication failed and may be repeated
- FAILED_PAYER: authentication failed for payee and may be repeated
- FAILED_PAYEE: authentication failed for payer and may be repeated
Exceptions
-
MobiliserServiceException –
if computing the authenticating fails
Usage
Performs the appropriate transaction authentication with the affected consumer.
ConsumerAuthenticationResultthe result of the authentication:
- FAILED_BOTH: authentication failed and may be repeated
- FAILED_PAYER: authentication failed for payee and may be repeated
- FAILED_PAYEE: authentication failed for payer and may be repeated