pair

public static void 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) {

    }
});

Parameters

context

The context of the calling application.

pairingKey

String representing a pairing key.

callback

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