Package org.forgerock.android.auth.idp
Class GoogleSignInHandler
- java.lang.Object
-
- androidx.fragment.app.Fragment
-
- org.forgerock.android.auth.idp.GoogleSignInHandler
-
- All Implemented Interfaces:
android.content.ComponentCallbacks,android.view.View.OnCreateContextMenuListener,androidx.activity.result.ActivityResultCaller,androidx.lifecycle.HasDefaultViewModelProviderFactory,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.ViewModelStoreOwner,androidx.savedstate.SavedStateRegistryOwner,IdPHandler
@Deprecated public class GoogleSignInHandler extends androidx.fragment.app.Fragment implements IdPHandler
Deprecated.IdPHandlerto handle Google login
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENABLE_SERVER_SIDE_ACCESSDeprecated.static intRC_SIGN_INDeprecated.static java.lang.StringTAGDeprecated.-
Fields inherited from interface org.forgerock.android.auth.idp.IdPHandler
ACCESS_TOKEN, AUTHORIZATION_CODE, ID_TOKEN, IDP_CLIENT
-
-
Constructor Summary
Constructors Constructor Description GoogleSignInHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetTokenType()Deprecated.Retrieve the result token type (access_token, id_token, authorization_code)voidonActivityResult(int requestCode, int resultCode, android.content.Intent data)Deprecated.voidonCreate(android.os.Bundle savedInstanceState)Deprecated.voidsignIn(androidx.fragment.app.Fragment fragment, IdPClient idPClient, FRListener<IdPResult> listener)Deprecated.Perform the Identity Provider sign in with the current active FragmentvoidsignIn(IdPClient idPClient, FRListener<IdPResult> listener)Deprecated.Perform the Identity Provider sign in with the current activeFragmentActivity-
Methods inherited from class androidx.fragment.app.Fragment
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
-
-
-
-
Field Detail
-
RC_SIGN_IN
public static final int RC_SIGN_IN
Deprecated.- See Also:
- Constant Field Values
-
ENABLE_SERVER_SIDE_ACCESS
public static final java.lang.String ENABLE_SERVER_SIDE_ACCESS
Deprecated.- See Also:
- Constant Field Values
-
TAG
public static final java.lang.String TAG
Deprecated.
-
-
Method Detail
-
onCreate
public void onCreate(@Nullable android.os.Bundle savedInstanceState)Deprecated.- Overrides:
onCreatein classandroidx.fragment.app.Fragment
-
onActivityResult
public void onActivityResult(int requestCode, int resultCode, android.content.Intent data)Deprecated.- Overrides:
onActivityResultin classandroidx.fragment.app.Fragment
-
getTokenType
public java.lang.String getTokenType()
Deprecated.Description copied from interface:IdPHandlerRetrieve the result token type (access_token, id_token, authorization_code)- Specified by:
getTokenTypein interfaceIdPHandler- Returns:
- The Token Type
-
signIn
public void signIn(IdPClient idPClient, FRListener<IdPResult> listener)
Deprecated.Description copied from interface:IdPHandlerPerform the Identity Provider sign in with the current activeFragmentActivity- Specified by:
signInin interfaceIdPHandler- Parameters:
idPClient- The Idp configuration.listener- Listener to listen for the result.
-
signIn
public void signIn(androidx.fragment.app.Fragment fragment, IdPClient idPClient, FRListener<IdPResult> listener)Deprecated.Description copied from interface:IdPHandlerPerform the Identity Provider sign in with the current active Fragment- Specified by:
signInin interfaceIdPHandler- Parameters:
fragment- The Active FragmentidPClient- The Idp configuration.listener- Listener to listen for the result.
-
-