login With Token
Content copied to clipboard
Log in to Ditto with a third-party token.
Parameters
token
the authentication token required to log in.
provider
the name of the authentication provider.
completion
a lambda that will get called when the login attempt has completed.
Content copied to clipboard
Log in to Ditto with a third-party token.
Parameters
token
the authentication token required to log in.
provider
the name of the authentication provider.
completion Callback
an object that implements the DittoLoginCompletionCallback interface, whose callback
function will be called when the login attempt has completed.