authenticate

fun authenticate(authenticationParameters: AuthenticationParameters, callback: AuthenticationCallback)

Method to start the authentication, passing the values you received in the Sessions API response into authenticationParameters.

Parameters

authenticationParameters

The authentication parameters, including sessionId, sessionSecret, and scheme.

callback

Lambda that is initialized with the result of authentication.