login: Login and retrieve the cookie token
Description
Login and retrieve the cookie token
Usage
login(
hostname,
username,
password,
identity_type = 1,
redirect_uri = "http://localhost"
)
Arguments
- hostname
The API hostname.
- username
The login username.
- password
The login password.
- identity_type
The identity type.
- redirect_uri
The redirect URI.