Package com.pingidentity.sdk.oobauth
Class OOBAuthTransactionContext
java.lang.Object
com.pingidentity.sdk.oobauth.OOBAuthTransactionContext
Information about an out-of-band authentication/authorization transaction returned from
OOBAuthPlugin.initiate(OOBAuthRequestContext, Map).- Since:
- 9.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets auxiliary parameters.Gets the unique identifier of the transaction.booleanIndicates if the given transaction for the given plugin is capable of making a callback to notify the PingFederate server that the status has changed viaOOBAuthStatusChangeReceiver.statusChange(String)voidsetAuxiliaryParams(Map<String, Object> auxiliaryParams) Sets auxiliary parameters for this transaction context, which will be returned in the protocol response (if applicable to the outer protocol).voidsetStatusChangeCallbackCapable(boolean statusChangeCallbackCapable) Indicates if the given transaction for the given plugin is capable of making a callback to notify the PingFederate server that the status has changed viaOOBAuthStatusChangeReceiver.statusChange(String)voidsetTransactionIdentifier(String transactionIdentifier) Sets the unique identifier for the transaction, which will be used to identify the given transaction in calls toOOBAuthPlugin.check(String, Map)andOOBAuthPlugin.finished(String).toString()
-
Constructor Details
-
OOBAuthTransactionContext
public OOBAuthTransactionContext()
-
-
Method Details
-
getTransactionIdentifier
Gets the unique identifier of the transaction.- Returns:
- the unique identifier of the transaction
-
setTransactionIdentifier
Sets the unique identifier for the transaction, which will be used to identify the given transaction in calls toOOBAuthPlugin.check(String, Map)andOOBAuthPlugin.finished(String).- Parameters:
transactionIdentifier- the unique identifier for the transaction
-
getAuxiliaryParams
Gets auxiliary parameters.- Returns:
- the auxiliary parameters
-
setAuxiliaryParams
Sets auxiliary parameters for this transaction context, which will be returned in the protocol response (if applicable to the outer protocol). Typical implementations will not use this.- Parameters:
auxiliaryParams- the auxiliary parameters
-
isStatusChangeCallbackCapable
public boolean isStatusChangeCallbackCapable()Indicates if the given transaction for the given plugin is capable of making a callback to notify the PingFederate server that the status has changed viaOOBAuthStatusChangeReceiver.statusChange(String)- Returns:
- a boolean indicates if the given transaction is capable of making a status change callback
-
setStatusChangeCallbackCapable
public void setStatusChangeCallbackCapable(boolean statusChangeCallbackCapable) Indicates if the given transaction for the given plugin is capable of making a callback to notify the PingFederate server that the status has changed viaOOBAuthStatusChangeReceiver.statusChange(String)- Parameters:
statusChangeCallbackCapable- is the given transaction is capable of making a status change callback
-
toString
-