FRUser
Functions
Link copied to clipboard
Link copied to clipboard
private open fun createFRAuth(context: Context, serviceName: String, sessionManager: SessionManager): FRAuth
Link copied to clipboard
Retrieve the AccessToken, if the stored AccessToken is expired, auto refresh the token it refresh token is available.
Retrieve the AccessToken asynchronously, If the stored AccessToken is expired, auto refresh the token if refresh token is available.
Link copied to clipboard
Retrieve the existing FRUser instance, If user session does not exist return null, otherwise return the existing FRUser with the associated user session, this cannot guarantee the existing user session is valid.
Link copied to clipboard
Handles REST requests to the OpenId Connect userinfo endpoint for retrieving information about the user who granted the authorization for the token.
Link copied to clipboard
Trigger the user login process, the login service name is defined under string.
Link copied to clipboard
Refresh the AccessToken asynchronously, force token refresh, no matter the stored AccessToken is expired or not refresh the token and persist it.
Link copied to clipboard
Trigger the user registration process, the registration service name is defined under string.
Link copied to clipboard
Revoke the AccessToken asynchronously,