generate Mobile Payload
Generates a payload string for any communication needed between the customer mobile app and the PingOne server.
The PingOne Native SDK returns a native payload to the customer native application. The payload is a small data package created by the PingOne Native SDK component, which is used as part of the device's authorization.
Sample usage:
PingOne.generateMobilePayload(context, new PingOneGenerateMobilePayloadCallback() {
@Override
public void onComplete(onComplete(@Nullable String payload, @Nullable PingOneSDKError error) {
if (payload != null){
//pass the payload further as a param of the OIDC request
}
}
});
Parameters
The context of the calling application.
PingOneGenerateMobilePayloadCallback is triggered upon completion of the flow. The method will return the mobile payload as a JWT string if the process completes successfully or PingOneSDKError otherwise.
Deprecated
Generates a payload string for any communication needed between the customer mobile app and the PingOne server.
The PingOne Native SDK returns a native payload to the customer native application. The payload is a small data package created by the PingOne Native SDK component, which is used as part of the device's authorization.
Return
The mobile payload string.
@Deprecated
please use generateMobilePayload
Parameters
The context of the calling application.