def claims_info_endpoint(self, request, authn): _log_info = logger.info _log_info("Claims_info_endpoint query: '%s'" % sanitize(request)) ucreq = self.srvmethod.parse_userinfo_claims_request(request) # Bearer header or body access_token = bearer_auth(ucreq, authn) uiresp = OpenIDSchema(**self.info_store[access_token]) _log_info("returning: %s" % sanitize(uiresp.to_dict())) return Response(uiresp.to_json(), content="application/json")