in fxa/profile.py [0:0]
def get_profile(self, token):
"""Get all profile data for the user associated with this token."""
url = '/profile'
resp = self.apiclient.get(url, auth=BearerTokenAuth(token))
for field in ("uid", "email", "avatar"):
if field not in resp:
resp[field] = None
return resp