Login Response:

The Login Response is an object used by PRIVO to pass results of a user authentication flow.

Upon successful or unsuccessful completion, the operation invokes a callback function, which is provided by the partner developer.

The PRIVO service expects the callback function to have the following standard signature.

The one parameter that the callback function receives is the response object which contains the values returned from the API method.

Response Object:

FieldTypeDescription
eventstringThe event for which the callback pertains to. See Login Events for possible values.
dataobjectThe resulting object for the given event. For the structure of this object, see reference section for each API call. May be null.

Signature:

aPartnerCallbackMethod(response)