IdPCallback

Callback to handle Identity Provider SignIn

Constructors

Link copied to clipboard
constructor()
constructor(jsonObject: JSONObject, index: Int)

Properties

Link copied to clipboard
protected open var _id: Int
Link copied to clipboard
private open var acrValues: List<String>
Link copied to clipboard
Link copied to clipboard
private open var clientId: String
Link copied to clipboard
protected open var content: String
Link copied to clipboard
private open var nonce: String
Link copied to clipboard
private open var provider: String
Link copied to clipboard
private open var redirectUri: String
Link copied to clipboard
private open var request: String
Link copied to clipboard
private open var requestUri: String
Link copied to clipboard
private open var scopes: List<String>
Link copied to clipboard
protected val VALUE: String = "value"

Functions

Link copied to clipboard
open fun get_id(): Int
Get the _id received from server
Link copied to clipboard
abstract fun getAcrValues(): List<String>
Link copied to clipboard
abstract fun getClientId(): String
Link copied to clipboard
open fun getContent(): String
Get the callback content
Link copied to clipboard
protected open fun getContentAsJson(): JSONObject
Link copied to clipboard
protected open fun getIdPHandler(): IdPHandler
Get the IdPHandler that handle the Identity Provider SignIn
Link copied to clipboard
open fun getInputValue(): Any
Get the first value for input
open fun getInputValue(index: Int): Any
Get the value for input
Link copied to clipboard
protected open fun getName(jsonObject: JSONObject): String
Link copied to clipboard
abstract fun getNonce(): String
Link copied to clipboard
abstract fun getProvider(): String
Link copied to clipboard
abstract fun getRedirectUri(): String
Link copied to clipboard
abstract fun getRequest(): String
Link copied to clipboard
abstract fun getRequestUri(): String
Link copied to clipboard
private open fun getResultListener(idPHandler: IdPHandler, listener: FRListener<Void>): FRListener<IdPResult>
Link copied to clipboard
abstract fun getScopes(): List<String>
Link copied to clipboard
open fun getType(): String
Return the type of the Callback, the type name should align with the Callback type returned from AM
Link copied to clipboard
protected open fun setAttribute(name: String, value: Any)
Link copied to clipboard
protected open fun setContent(jsonObject: JSONObject)
Sets the value of the Callback
Link copied to clipboard
open fun setToken(value: String)
Set the the authentication token value.
Link copied to clipboard
open fun setTokenType(value: String)
Set the Token Type (access_token, id_token, authorization_code)
Link copied to clipboard
protected open fun setValue(value: Any)
Set the first value for input
protected open fun setValue(value: Any, index: Int)
Set the value for the input.
Link copied to clipboard
open fun signIn(@Nullable idPHandler: IdPHandler, listener: FRListener<Void>)
Perform the Identity Provider sign in with the current active androidx.fragment.app.FragmentActivity
open fun signIn(fragment: Fragment, @Nullable idPHandler: IdPHandler, listener: FRListener<Void>)
Perform the Identity Provider sign in with the current active Fragment