Performs an authentication based on the passed authentication rules and (optional) credentials.
Syntax
ConsumerAuthenticationResult
authenticate
(
final AuthenticationMethodComputation
authenticationRules
,
final ITransactionCredential
credentials
,
final Long
actorId
,
final Authorisation
auth
,
final Transaction
txn
)
Parameters
-
authenticationRules –
the authentication rules to apply
-
credentials –
the (optional) authentication credentials for payer and payee
-
actorId –
the current actor
-
auth –
the current authorization subtransaction.
-
txn –
the current main transaction.
Returns
the result of the authentication for payer and payee.
Usage
the result of the authentication for payer and payee.