FRUser

open class FRUser

Constructors

Link copied to clipboard
private constructor()

Types

Link copied to clipboard
open class Browser
Link copied to clipboard
private open class UserInterceptor : Interceptor<T>

Properties

Link copied to clipboard
Link copied to clipboard

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
open fun getUserInfo(listener: FRListener<UserInfo>)
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
open fun login(context: Context, listener: NodeListener<FRUser>)
Trigger the user login process, the login service name is defined under string.
Link copied to clipboard
open fun logout()
Logout the user
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
open fun register(context: Context, listener: NodeListener<FRUser>)
Trigger the user registration process, the registration service name is defined under string.
Link copied to clipboard
open fun revokeAccessToken(listener: FRListener<Void>)
Revoke the AccessToken asynchronously,