Ditto Authenticator
class DittoAuthenticator
Content copied to clipboard
Log in to a remote authentication service, using an OnlineWithAuthentication
or an Online
identity.
Functions
isAuthenticated
Link copied to clipboard
loginWithCredentials
Link copied to clipboard
fun loginWithCredentials(username: String, password: String, provider: String, completion: (DittoError?) -> Unit)
Content copied to clipboard
fun loginWithCredentials(username: String, password: String, provider: String, completionCallback: DittoLoginCompletionCallback)
Content copied to clipboard
loginWithToken
Link copied to clipboard
fun loginWithToken(token: String, provider: String, completion: (DittoError?) -> Unit)
Content copied to clipboard
fun loginWithToken(token: String, provider: String, completionCallback: DittoLoginCompletionCallback)
Content copied to clipboard