Ejemplo n.º 1
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     self.post_parse_request.append(self._post_parse_request)
     if "client_authn_method" in kwargs:
         self.endpoint_info[
             "token_endpoint_auth_methods_supported"] = kwargs[
                 "client_authn_method"]
Ejemplo n.º 2
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     self.scope_to_claims = None
     if "client_authn_method" not in kwargs:
         self.client_authn_method = self.default_capabilities[
             "client_authn_method"]
     # Add the issuer ID as an allowed JWT target
     self.allowed_targets.append("")
Ejemplo n.º 3
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     self.scope_to_claims = None
     # Add the issuer ID as an allowed JWT target
     self.allowed_targets.append("")
Ejemplo n.º 4
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     self.post_parse_request.append(self._post_parse_request)
Ejemplo n.º 5
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     # self.pre_construct.append(self._pre_construct)
     self.post_parse_request.append(self._do_request_uri)
     self.post_parse_request.append(self._post_parse_request)
     self.allowed_request_algorithms = AllowedAlgorithms(ALG_PARAMS)
Ejemplo n.º 6
0
 def __init__(self, endpoint_context, **kwargs):
     _csi = kwargs.get('check_session_iframe')
     if _csi and not _csi.startswith("http"):
         kwargs['check_session_iframe'] = add_path(endpoint_context.issuer,
                                                   _csi)
     Endpoint.__init__(self, endpoint_context, **kwargs)
Ejemplo n.º 7
0
 def __init__(self, **kwargs):
     Endpoint.__init__(self, **kwargs)
     self.offset = kwargs.get("offset", 0)
Ejemplo n.º 8
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     self.pre_construct.append(self.add_endpoints)
Ejemplo n.º 9
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     _csi = self.kwargs.get('check_session_iframe')
     if _csi:
         self.kwargs.setdefault(add_path(endpoint_context.issuer, _csi))
Ejemplo n.º 10
0
 def __init__(self, endpoint_context, **kwargs):
     Endpoint.__init__(self, endpoint_context, **kwargs)
     self.post_construct.append(self.create_entity_statement)
     self.metadata_api = None