auth.login

Authenticate session using username and password. otp_token must be specified if two factor authentication is enabled.

Deprecated and removed in v27. Use auth.login_ex with mechanism=”PASSWORD_PLAIN” (and auth.login_ex_continue with mechanism=”OTP_TOKEN” for the second factor).

DEPRECATED: this method is scheduled to be removed in v27.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: username

username

Type: string
Parameter 2: password

password

Type: string
Parameter 3: otp_token

otp_token

Default: null

Type: string
Type: null

Result

Type: boolean


Required roles: