Class WalletPairingEvent
java.lang.Object
com.pingidentity.sdk.pingonewallet.types.WalletEvents.WalletPairingEvent
- All Implemented Interfaces:
WalletEvent
Object representing a pairing event for wallet, returned as a param via
WalletCallbackHandler.handleEvent(WalletEvent)-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.pingidentity.did.sdk.client.service.model.Challengestatic WalletEventType -
Constructor Summary
ConstructorsConstructorDescriptionWalletPairingEvent(String applicationInstanceId, String sender, com.pingidentity.did.sdk.client.service.model.Challenge challenge, com.pingidentity.sdk.pingonewallet.types.WalletMessage.pairing.PairingMessage pairingMessage) -
Method Summary
Modifier and TypeMethodDescriptioncom.pingidentity.did.sdk.client.service.model.Challengecom.pingidentity.sdk.pingonewallet.errors.PairingExceptiongetError()ReturnsWalletExceptionif pairing fails, can be used to rectify the error and try againPairing Event type - request or responseParses ``PairingRequest`` from the secure message sent to the walletgetType()booleanResult of wallet pairing
-
Field Details
-
TYPE
-
applicationInstanceId
-
sender
-
challenge
public com.pingidentity.did.sdk.client.service.model.Challenge challenge
-
-
Constructor Details
-
WalletPairingEvent
-
-
Method Details
-
getPairingEventType
Pairing Event type - request or response- Returns:
WalletPairingEventType
-
getPairingRequest
Parses ``PairingRequest`` from the secure message sent to the wallet- Returns:
PairingRequest
-
getType
- Specified by:
getTypein interfaceWalletEvent
-
getSender
- Specified by:
getSenderin interfaceWalletEvent
-
getChallenge
public com.pingidentity.did.sdk.client.service.model.Challenge getChallenge()- Specified by:
getChallengein interfaceWalletEvent
-
isSuccess
public boolean isSuccess()Result of wallet pairing- Returns:
- True if successful, False if failed
-
getError
public com.pingidentity.sdk.pingonewallet.errors.PairingException getError()ReturnsWalletExceptionif pairing fails, can be used to rectify the error and try again- Returns:
WalletException
-
getMessage
-
getApplicationInstanceId
-