Package-level declarations

Types

Link copied to clipboard
fun interface BrowserSelector

Selects which browser package should host the Chrome Custom Tab used for the OIDC redirect flow.

Link copied to clipboard
class DefaultWebAuthenticationProvider @JvmOverloads constructor(eventCoordinator: EventCoordinator = EventCoordinator(emptyList()), val preferredBrowsers: List<String> = DEFAULT_PREFERRED_BROWSERS, val queryIntentServicesFlags: Int = 0, customizeTabsIntent: (context: Context, builder: CustomTabsIntent.Builder) -> Unit? = null, customizeAuthTabIntent: (context: Context, builder: AuthTabIntent.Builder) -> Unit? = null, browserSelector: BrowserSelector = defaultBrowserSelector(eventCoordinator, preferredBrowsers, queryIntentServicesFlags)) : WebAuthenticationProvider, AuthTabWebAuthenticationProvider

Default WebAuthenticationProvider implementation that launches the OIDC redirect flow using Chrome Custom Tabs, preferring Chrome's Auth Tab (a Custom Tabs variant purpose-built for auth redirect flows) when the resolved browser supports it.

Link copied to clipboard
sealed interface ForegroundActivityEvent : UIEvent

Lifecycle events emitted through the SDK's com.okta.authfoundation.events.EventCoordinator while the browser redirect flow is in the foreground. Observe these via an com.okta.authfoundation.events.EventHandler to react to the redirect activity's lifecycle (for example, to detect a user-cancelled flow). This is a UIEvent.

Link copied to clipboard

Failure cause returned by BrowserSelector.selectBrowser when no usable browser was found.

Link copied to clipboard

Authentication coordinator that simplifies signing users in using browser-based OIDC authentication flows.

Link copied to clipboard

Used to launch the OIDC redirect flow associated with a WebAuthentication.