Companion
object Companion
Content copied to clipboard
Functions
await
Link copied to clipboard
suspend fun await(block: (OAuthProvider.AccessTokenCallback) -> Unit): <ERROR CLASS>
Content copied to clipboard
Helper suspend function to handle a AccessTokenCallback in a synchronous manner using suspended coroutinesReturn type:
Triple<OauthSession?, String?, String?>
Success Result -> Triple<session: OauthSession, null, null>
Failure Result -> Triple<null, errorCode: String, errorMessage: String>