IdPHandler

interface IdPHandler

Identity Provider Handler to handle sign in with provided IdPClient

Inheritors

Properties

Link copied to clipboard
val ACCESS_TOKEN: String = "access_token"
Link copied to clipboard
val AUTHORIZATION_CODE: String = "authorization_code"
Link copied to clipboard
val ID_TOKEN: String = "id_token"
Link copied to clipboard
val IDP_CLIENT: String = "IDP_CLIENT"

Functions

Link copied to clipboard
abstract fun getTokenType(): String
Retrieve the result token type (access_token, id_token, authorization_code)
Link copied to clipboard
abstract fun signIn(idPClient: IdPClient, listener: FRListener<IdPResult>)
Perform the Identity Provider sign in with the current active androidx.fragment.app.FragmentActivity
abstract fun signIn(fragment: Fragment, idPClient: IdPClient, listener: FRListener<IdPResult>)
Perform the Identity Provider sign in with the current active Fragment