TokenAuthenticator
@Singleton
Constructors
Link copied to clipboard
@Inject
Properties
Functions
Link copied to clipboard
This function fetches new access token from the authentication server and then creates a new account if none exists; otherwise it updates the existing account.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This function checks if token is null or empty or expired
Link copied to clipboard
This function uses the provided currentRefreshToken to get a new auth token or throws HttpException or UnknownHostException exceptions
Link copied to clipboard
Link copied to clipboard