DittoAuthenticator

class DittoAuthenticator

Log in to a remote authentication service, using an Online identity.

Functions

loginWithCredentials
Link copied to clipboard
fun loginWithCredentials(username: String, password: String, provider: String, completion: (DittoError?) -> Unit)
Log in to Ditto with a username and password.
loginWithToken
Link copied to clipboard
fun loginWithToken(token: String, provider: String, completion: (DittoError?) -> Unit)
Log in to Ditto with a third-party token.