Package-level declarations
Types
Link copied to clipboard
Headless Fragment to receive callback result from AppAuth library
Link copied to clipboard
internal class AuthorizeContract : ActivityResultContract<FRUser.Browser, Result<AuthorizationResponse, Throwable>>
This class is an ActivityResultContract for the OpenID Connect authorization process. It creates an intent for the authorization request and parses the result of the authorization response.
Link copied to clipboard
object BrowserLauncher
This object is responsible for launching the browser for OpenID Connect operations.
Link copied to clipboard
internal class EndSessionContract : ActivityResultContract<EndSessionInput, Result<EndSessionResponse, Throwable>>
This class is an ActivityResultContract for the OpenID Connect end session process. It creates an intent for the end session request and parses the result of the end session response.
Link copied to clipboard
internal data class EndSessionInput(val idToken: String, val oAuth2Client: OAuth2Client, val appAuthConfiguration: AppAuthConfiguration = AppAuthConfiguration.DEFAULT)
Link copied to clipboard
internal class Launcher(val authorize: Pair<ActivityResultLauncher<FRUser.Browser>, MutableStateFlow<Result<AuthorizationResponse, Throwable>?>>, val endSession: Pair<ActivityResultLauncher<EndSessionInput>, MutableStateFlow<Result<EndSessionResponse, Throwable>?>>)
This class is responsible for launching the browser for OpenID Connect operations.