Syntax
void
authenticate
(
final SubTransaction
transaction
,
final String
authToken
,
final boolean
payer
) throws AuthenticationException
Parameters
-
transaction –
the SubTransaction to authenticate (in general, this should be the reservation)
-
authToken –
the Authentication value
-
authTokenType –
the Authentication Type id to apply
-
payer –
indicates if payer or payee must authenticate for the transaction
Exceptions
-
AuthenticationException –
if authentication fails
-
AuthenticationFailedException –
if the authentication failed but can be retried
-
AuthenticationFailedPermanentlyException –
if the authentication failed and can not be retried
Usage
Authenticates the specified transaction.