IDKit
Functions
Creates an authorization request Intent that can be launched using the Activity Result API and a StartActivityForResult contract or with android.app.Activity.startActivityForResult to open a Chrome Custom Tab.
Sends an authorization request to the authorization service, using a Chrome Custom Tab and handles the authorization response automatically.
Sends an authorization request to the authorization service, using a Chrome Custom Tab. Upon completion of this authorization request, a PendingIntent of the completedActivity will be invoked. If the user cancels the authorization request, a PendingIntent of the canceledActivity will be invoked.
Returns the cached accessToken of the current session or null if the session is not initialized or has no accessToken.
Checks if the intent contains an authorization response.
Checks if the intent contains an end session response.
Checks if the intent contains an authorization/end session exception.
Disables biometric authentication for the current user.
Performs a discovery to retrieve a ServiceConfiguration.
Enables biometric authentication without passing credentials for the current user.
Enables biometric authentication for the current user using mail OTP.
Enables biometric authentication for the current user using the account password.
Enables biometric authentication for the current user using the PIN.
Creates an end session request Intent that can be launched using the Activity Result API and a StartActivityForResult contract or with android.app.Activity.startActivityForResult to open a Chrome Custom Tab.
Sends an end session request to the authorization service, using a Chrome Custom Tab and handles the end session response automatically.
Sends an end session request to the authorization service, using a Chrome Custom Tab. Upon completion of this end session request, a PendingIntent of the completedActivity will be invoked. If the user cancels the end session request, a PendingIntent of the canceledActivity will be invoked.
Returns the additional parameters map.
Fetches a list of transactions for the current user sorted in descending order by creation date.
Fetches a list of valid payment methods for the current user.
Sends a request to the authorization service to exchange a code granted as part of an authorization request for a token.
Resets the local session object.
Checks the current authorization state. Returning true does not mean that the access is fresh - just that it was valid the last time it was used.
Checks if biometric authentication is enabled for the current user.
Checks if there is an active password set for the currently authenticated user.
Checks if there is an active PIN or password set and verified for the currently authenticated user.
Checks if there is an active PIN set for the currently authenticated user.
Checks if the pin is valid. The following rules apply to verify the PIN:
Refreshes the current access token if needed.
Sends a mail to the user that provides an OTP.
Replaces the additional parameters property of the OIDConfiguration with this values.
Sets or updates the user's PIN using biometric authentication.
Sets or updates the user's PIN using mail OTP.
Sets or updates the user's PIN using the account password.
Retrieves the currently authorized user's information.