fun getProfile(ignoreCache: Boolean): FxaResult<Profile> (source)
Fetches the profile object for the current client either from the existing cached account, or from the server (requires the client to have access to the profile scope).
ignoreCache - Fetch the profile information directly from the server
Return
FxaResult<Profile> representing the user's basic profile info
fun getProfile(): FxaResult<Profile> (source)
Convenience method to fetch the profile from a cached account by default, but fall back to retrieval from the server.
Return
FxaResult<Profile> representing the user's basic profile info