code: def userinfo(self, token):
          
          url = self.well_known['userinfo_endpoint']
  
          return self._realm.client.get(url, headers={
                                            "Authorization": "Bearer {}".format(
                                                token
                                            )
                                        })
docs: The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns
          Claims about the authenticated End-User. To obtain the requested Claims
          about the End-User, the Client makes a request to the UserInfo Endpoint
          using an Access Token obtained through OpenID Connect Authentication.
          These Claims are normally represented by a JSON object that contains a
          collection of name and value pairs for the Claims.
  
          http://openid.net/specs/openid-connect-core-1_0.html#UserInfo
  
          :param str token:
          :rtype: dict