Package-level declarations
Types
Link copied to clipboard
class ActivityResultLauncherSuspend<Input, Output>(val delegate: ActivityResultLauncher<Input>, val resultFlow: MutableStateFlow<Output?>) : ActivityResultLauncher<Input>
Link copied to clipboard
class AndroidCodeAuthFlowFactory(useWebView: Boolean = false, webViewEpheremalSession: Boolean = false) : CodeAuthFlowFactory
Factory to create an Auth Flow on Android. There should only be a single instance of this factory.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Implements the OAuth 2.0 Code Authorization Flow. See: https://datatracker.ietf.org/doc/html/rfc6749#section-4.1
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Input, Output> ComponentActivity.registerForActivityResultSuspend(resultFlow: MutableStateFlow<Output?> = MutableStateFlow(null), contract: ActivityResultContract<Input, Output>): ActivityResultLauncherSuspend<Input, Output>
Register for activity result and return an @ActivityResultLauncherSuspend, so result can be consumed in a suspend function.