Class UserLogoutActivity
-
- All Implemented Interfaces:
-
android.content.ComponentCallbacks,android.content.ComponentCallbacks2,android.view.KeyEvent.Callback,android.view.LayoutInflater.Factory,android.view.LayoutInflater.Factory2,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback,androidx.activity.FullyDrawnReporterOwner,androidx.activity.OnBackPressedDispatcherOwner,androidx.activity.contextaware.ContextAware,androidx.activity.result.ActivityResultCaller,androidx.activity.result.ActivityResultRegistryOwner,androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback,androidx.core.app.ActivityCompat.RequestPermissionsRequestCodeValidator,androidx.core.app.OnMultiWindowModeChangedProvider,androidx.core.app.OnNewIntentProvider,androidx.core.app.OnPictureInPictureModeChangedProvider,androidx.core.content.OnConfigurationChangedProvider,androidx.core.content.OnTrimMemoryProvider,androidx.core.view.KeyEventDispatcher.Component,androidx.core.view.MenuHost,androidx.lifecycle.HasDefaultViewModelProviderFactory,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.ViewModelStoreOwner,androidx.savedstate.SavedStateRegistryOwner
public final class UserLogoutActivity extends FragmentActivityTransparent activity that orchestrates the user logout flow by navigating to the server's logout endpoint. The transport is chosen based on how the user originally authenticated:
Custom Chrome Tab / browser — used when authentication was performed via OAuth2BrowserProcessor.
WebView — used for SAML or OAuth2 WebView-based authentication.
Callers should use startUserLogoutProcess to launch this activity and receive the result asynchronously via UserLogoutCallback.
-
-
Constructor Summary
Constructors Constructor Description UserLogoutActivity()
-
Method Summary
Modifier and Type Method Description UnitonCreate(Bundle savedInstanceState)UnitonResume()UnitonNewIntent(Intent intent)UnitonDestroy()-
-
Method Detail
-
onCreate
Unit onCreate(Bundle savedInstanceState)
-
onResume
Unit onResume()
-
onNewIntent
Unit onNewIntent(Intent intent)
-
onDestroy
Unit onDestroy()
-
-
-
-