pair
public final static Unit pair(Context context, String pairingKey, PingOne.PingOneSDKPairingCallback callback)
Pairs the device with the PingOne server using the pairing key.
Sample usage:
PingOne.pair(context, pairingKey, new PingOneSDKPairingCallback() {
@Override
public void onComplete(@Nullable PairingInfo pairingInfo, @Nullable PingOneSDKError error) {}
Content copied to clipboard});
Parameters
context
The context of the calling application.
pairing Key
String representing a pairing key.
callback
{@link PingOneSDKPairingCallback} is triggered upon completion of the flow.
A wrapper method that contains Array List with authentication methods (One time passcode and Push) status. Documentation for pairing object error codes: PairingObject Error Codes
public final static Unit
Deprecated
use pair(context, pairingKey, callback) instead
Pairs the device with the PingOne server using the pairing key
Parameters
context
application context
pairing Key
pairing key as a String
callback
{@link PingOneSDKCallback} notifies a completion