This is the helper function that other API functions will use. It retrieves the cached token, and if the token has expired, it automatically attempts to refresh it using the stored refresh token.
This is the helper function that other API functions will use. It retrieves the cached token, and if the token has expired, it automatically attempts to refresh it using the stored refresh token.