Skip to content

Login

//trimble-id-android/com.trimble.id.android/Authenticator/login

login

[androidJvm]
open override fun login(loginCallback: ILoginResponseCallback, launchAsTrustedWebActivity: Boolean, forceNewLogin: Boolean)

Log the user in. Login only after invoking registerLoginLauncher.

Parameters

androidJvm

loginCallbackThe result of login will be sent to the provided callback handler.
launchAsTrustedWebActivityBy enabling this Trimble’s authentication sign in can be rendered by the user’s browser running in full screen mode without the URL bar. By default value is set to false. @See link
forceNewLoginIf true, forces the user to log in again, bypassing Single Sign-On (SSO). Default is false. If false, Single Sign-On (SSO) will be used if the user is already logged in the browser