Skip to content

Login

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

login

[androidJvm]
abstract fun login(loginCallback: ILoginResponseCallback, launchAsTrustedWebActivity: Boolean = false, forceNewLogin: Boolean = false)

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, the 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