login

open fun login(): Boolean

Attempts to log in using the account selected by the user when starting the script

Return

true if logged in successfully, false otherwise


open fun login(username: String, password: String): Boolean

Attempts to log in using ths specified credentials

Return

true if logged in successfully, false otherwise

Parameters

username

the account username

password

the account password


open fun login(username: String, password: String, authenticatorSecret: String): Boolean

Attempts to log in using ths specified credentials

Return

true if logged in successfully, false otherwise

Parameters

username

the account username

password

the account password

authenticatorSecret

the authenticator secret key to handle the authenticator, if applicable