Ditto Authenticator
class DittoAuthenticator
Content copied to clipboard
Log in to a remote authentication service, using an OnlineWithAuthentication
or an Online
identity.
Types
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
observeStatus
Link copied to clipboard
fun observeStatus(callback: (DittoAuthenticationStatus) -> Unit): Closeable
Content copied to clipboard
fun observeStatus(callback: DittoAuthenticationStatusDidChangeCallback): Closeable
Content copied to clipboard