Ping One
Main class that contains public APIs.
Created by Ping Identity.
Copyright © 2023 Ping Identity.
All rights reserved.
Types
Callback interface that will return AuthenticationObject. PingOneSDKError object will be null if process completed successfully. AuthenticationObject object will be null if process did not complete successfully.
Callback interface that will return authentication status as a String. PingOneSDKError object will be null if process completed successfully. String with authentication status will be null if process did not complete successfully.
Callback interface that will notify about completion of the process of the mobile payload creation.
Callback interface that will notify developers about getInfo task completion. JsonObject containing array with all the paired users info will be returned to the calling application on successful response. PingOneSDKError objects array will be empty if process completed successfully.
Callback interface that will notify about migration status completion.
A callback interface for receiving the result of a mobile push authentication approval.
Callback interface that will notify developers about processRemoteNotification task completion. {@link NotificationObject} will be returned if process completed successfully. {@link PingOneSDKError} object will be null if process completed successfully.
Callback interface that will return One time passcode object. PingOneSDKError object will be null if process completed successfully. OneTimePasscodeInfo object will be null if process did not complete successfully.
Callback interface that will notify developers about processIdToken task completion {@link PairingObject} will be returned if process completed successfully. {@link PingOneSDKError} object will be null if process completed successfully.
Callback interface that will notify developers about asynchronous task completion. {@link PingOneSDKError} object will be null if process completed successfully.
Callback interface that will notify developers about pairing task completion.
Callback interface that will notify developers about sendLogs task completion. String with unique support ID will be returned in case the logs were sent successfully. The supportId can then be passed to the Ping Identity support team for review. PingOneSDKError object will be null if process completed successfully.
Callback interface that will notify developers about setDeviceToken task completion. PingOneSDKError objects array will be empty if process completed successfully.
Functions
Method that will notify the server not to send push messages to this device.
Method that will try to authenticate with given authCode String value. Upon successful completion {@link AuthenticationObject} will be returned in the onComplete() method of {@link PingOneAuthenticationCallback}.
Method that will try to authenticate with given authCode String value.
Establishes trust with the PingOne server according to a provided geo. Mandatory method.
Establishes trust with the PingOne server according to a provided geo. Mandatory method.
Generates a payload string for any communication needed between the customer mobile app and the PingOne server.
Generates a payload string for any communication needed between the customer mobile app and the PingOne server.
Get info.
Get info.
Requests the SDK to provide One Time Passcode.
Requests the SDK to provide One Time Passcode.
Method that will trigger the migration process, pairing the existing PingID SDK users to the PingOne SDK platform.
Method that will trigger the migration process, pairing the existing PingID SDK users to the PingOne SDK platform.
Pairs the device with the PingOne server using the pairing key
Pairs the device with the PingOne server using the pairing key.
Pairs the device with the PingOne server using the pairing key.
Processes ID Token retrieved from the PingOne server. When using OpenID Connect, this is a mandatory post action method which should be executed after receiving an id token from the PingOne SDK server.
Processes ID Token retrieved from the PingOne server.
Processes the remote notification received from PingOne
Process the HMS remote notification received from the PingOne server.
Processes the FCM remote notification received from the PingOne server.
Processes the FCM remote notification received from the PingOne server.
Process the HMS remote notification received from the PingOne server. Suspend version that executes in Dispatchers.IO context.
Remove PingOne local data.
Send logs to PingOne server.
Send logs to PingOne server.
Sets device remote notification token.
Sets device remote notification token.
Method that stores a Google Cloud project number to encrypted storage to use when calling Play Integrity APIs.
Method that stores a SafetyNet API key to encrypted storage to use in future device integrity validations.
Method that tests the push notification flow for a specified paired geography.
Method that tests the push notification flow for a specified paired geography.