Package org.forgerock.android.auth.idp
Interface IdPHandler
-
- All Implemented Interfaces:
public interface IdPHandlerIdentity Provider Handler to handle sign in with provided IdPClient
-
-
Method Summary
Modifier and Type Method Description abstract StringgetTokenType()Retrieve the result token type (access_token, id_token, authorization_code) abstract voidsignIn(IdPClient idPClient, FRListener<IdPResult> listener)Perform the Identity Provider sign in with the current active androidx.fragment.app.FragmentActivity abstract voidsignIn(Fragment fragment, IdPClient idPClient, FRListener<IdPResult> listener)Perform the Identity Provider sign in with the current active Fragment -
-
Method Detail
-
getTokenType
abstract String getTokenType()
Retrieve the result token type (access_token, id_token, authorization_code)
-
signIn
abstract void signIn(IdPClient idPClient, FRListener<IdPResult> listener)
Perform the Identity Provider sign in with the current active androidx.fragment.app.FragmentActivity
- Parameters:
idPClient- The Idp configuration.listener- Listener to listen for the result.
-
signIn
abstract void signIn(Fragment fragment, IdPClient idPClient, FRListener<IdPResult> listener)
Perform the Identity Provider sign in with the current active Fragment
- Parameters:
fragment- The Active FragmentidPClient- The Idp configuration.listener- Listener to listen for the result.
-
-
-
-