Syntax
boolean
initAuthentication
(
final SubTransaction
transaction
,
final boolean
payer
) throws AuthenticationException
Parameters
-
transaction –
the SubTransaction to authenticate (in general, this should be the reservation)
-
method –
the AuthenticationMethod id to apply
-
payer –
indicates if payer or payee must authenticate for the transaction
Returns
true if the initialisation did not create a new authentication token and the authentication can be continued right after the initialization. On false the transaction processing should break immediately
Exceptions
-
AuthenticationException –
if the initialization fails and the transaction processing can to be picked up later
Usage
Initializes the Authentication for payer or payee. This method can be used by the actual authentication handler to send notifications to the participants, such as one time transaction tokens created on time.
true if the initialisation did not create a new authentication token and the authentication can be continued right after the initialization. On false the transaction processing should break immediately