Returns true
if authentication is avaiable and the login methods can be
used, otherwise returns false
. Currently, authentication is only
available if Ditto was initialized with an identity of type
'online'.
Log in to Ditto with a third-party token. Throws if authentication is not available, which can be checked with loginSupported.
the authentication token required to log in.
Log in to Ditto with a username and password. Throws if authentication is not available, which can be checked with loginSupported.
the username component of the credentials used for log in.
the password component of the credentials used for log in.
Log in to a remote authentication service, using an
Online
identity.