Ping One
Main class that contains public APIs.
Created by Ping Identity.
Copyright © 2023 Ping Identity.
All rights reserved.
Types
Link copied to clipboard
Callback interface that will return AuthenticationObject.
Link copied to clipboard
Callback interface that will return authentication status as a String.
Link copied to clipboard
Callback interface that will notify developers about getInfo task completion.
Link copied to clipboard
Callback interface that will notify about migration status completion.
Link copied to clipboard
Callback interface that will notify developers about processRemoteNotification task completion.
Link copied to clipboard
Callback interface that will return One time passcode object.
Link copied to clipboard
Callback interface that will notify developers about processIdToken task completion PairingObject will be returned if process completed successfully.
Link copied to clipboard
Callback interface that will notify developers about asynchronous task completion.
Link copied to clipboard
Callback interface that will notify developers about pairing task completion.
Link copied to clipboard
Callback interface that will notify developers about sendLogs task completion.
Functions
Link copied to clipboard
Method that will notify the server not to send push messages to this device.
Link copied to clipboard
public static void authenticate(Context context, String authCode, PingOne.PingOneAuthenticationCallback callback)
Method that will try to authenticate with given authCode String value.
Link copied to clipboard
Generates a payload string for any communication needed between the customer mobile app and the PingOne server.
Link copied to clipboard
Get info.
Link copied to clipboard
public static void getOneTimePassCode(Context context, PingOne.PingOneOneTimePasscodeCallback callback)
Requests the SDK to provide One Time Passcode.
Link copied to clipboard
public static void migrateFromPingID(Context context, PingOne.PingOneMigrationStatusCallback callback)
Method that will trigger the migration process, pairing the existing PingID SDK users to the PingOne SDK platform.
Link copied to clipboard
public static void pair(Context context, String pairingKey, PingOne.PingOneSDKPairingCallback callback)
Pairs the device with the PingOne server using the pairing key.
Link copied to clipboard
Processes ID Token retrieved from the PingOne server.
Link copied to clipboard
public static void processRemoteNotification(Context context, RemoteMessage remoteMessage, PingOne.PingOneNotificationCallback callback)
Processes the FCM remote notification received from the PingOne server.
public static void processRemoteNotification(Context context, String messageData, PingOne.PingOneNotificationCallback callback)
Process the HMS remote notification received from the PingOne server.
Link copied to clipboard
Send logs to PingOne server.
Link copied to clipboard
public static void setDeviceToken(Context context, String registrationIdToken, NotificationProvider notificationProvider, PingOne.PingOneSDKCallback callback)
Sets device remote notification token.
Link copied to clipboard
Method that stores a Google Cloud project number to encrypted storage to use when calling Play Integrity APIs.