tiled.client.context.Context.authenticate

Context.authenticate(*, remember_me=True)[source]

Log in to a Tiled server.

Depending on the server’s authentication method, this will prompt for username/password:

>>> c.login()
Username: USERNAME
Password: <input is hidden>

or prompt you to open a link in a web browser to login with a third party:

>>> c.login()
You have ... minutes to visit this URL

https://

and enter the code: XXXX-XXXX

Parameters:
remember_mebool

Next time, try to automatically authenticate using this session.