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
class IosCodeAuthFlowFactory(ephemeralBrowserSession: Boolean = false) : CodeAuthFlowFactory
Link copied to clipboard
actual class PlatformCodeAuthFlow : CodeAuthFlow

Implements the OAuth 2.0 Code Authorization Flow. See: https://datatracker.ietf.org/doc/html/rfc6749#section-4.1

Link copied to clipboard
class PresentationContext : NSObject, ASWebAuthenticationPresentationContextProvidingProtocol
Link copied to clipboard
data class UrlOpenException(val message: String?, val cause: Throwable? = null) : Exception

Functions

Link copied to clipboard
fun Url.isLocalhost(): Boolean
Link copied to clipboard
fun Url.openInBrowser()
Link copied to clipboard

Register for activity result and return an @ActivityResultLauncherSuspend, so result can be consumed in a suspend function.