示例#1
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.conv.req = self
     self.trace = conv.trace
     self.tests = copy.deepcopy(self._tests)
     self.csi = None
     self.request = self.conv.msg_factory(self.request_cls)
     self.response = self.conv.msg_factory(self.response_cls)
     if "comcls" in kwargs:
         self.com = kwargs["comcls"]()
     else:
         self.com = Log
示例#2
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.expect_error = {}
     self.req_args = {}
     self.op_args = {}
     self.csi = None
     self.entity = self.conv.entity
     self.trace = self.conv.trace
     self.relay_state = ''
     self.request_id = ''
     self.response_args = {}
     self.request_inst = None
示例#3
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.conv.req = self
     self.trace = conv.trace
     self.tests = copy.deepcopy(self._tests)
     self.csi = None
     self.request = self.conv.msg_factory(self.request_cls)
     self.response = self.conv.msg_factory(self.response_cls)
     if "comcls" in kwargs:
         self.com = kwargs["comcls"]()
     else:
         self.com = Log
示例#4
0
文件: oper.py 项目: dv10den/oidctest
    def __init__(self, conv, session, test_id, conf, funcs):
        Operation.__init__(self, conv, session, test_id, conf, funcs)

        self.dynamic = self.profile[REGISTER] == "T"
示例#5
0
文件: oper.py 项目: dv10den/oidctest
 def __init__(self, conv, profile, test_id, conf, funcs):
     Operation.__init__(self, conv, profile, test_id, conf, funcs)
     self.resource = ""
     self.dynamic = self.profile[WEBFINGER] == "T"
示例#6
0
文件: oper.py 项目: dv10den/oidctest
 def __init__(self, conv, session, test_id, conf, funcs):
     Operation.__init__(self, conv, session, test_id, conf, funcs)
示例#7
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.conv.req = self
     self.tests = copy.deepcopy(self._tests)
     self.request = self.conv.msg_factory(self.request_cls)
     self.response = self.conv.msg_factory(self.response_cls)
示例#8
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.op_args["state"] = conv.state
示例#9
0
    def __init__(self, conv, io, sh, **kwargs):
        Operation.__init__(self, conv, io, sh, **kwargs)

        self.dynamic = self.profile[REGISTER] == "T"
示例#10
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.jwk_name = "export/jwk.json"
     self.new_key = {}
     self.kid_template = "_%d"
     self.key_usage = ""
示例#11
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.op_args["state"] = conv.state
示例#12
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.op_args["state"] = conv.state
     self.req_args["redirect_uri"] = conv.entity.redirect_uris[0]
示例#13
0
    def __init__(self, conv, io, sh, **kwargs):
        Operation.__init__(self, conv, io, sh, **kwargs)

        self.dynamic = self.profile[REGISTER] == "T"
示例#14
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.jwk_name = "export/jwk.json"
     self.new_key = {}
     self.kid_template = "_%d"
     self.key_usage = ""
示例#15
0
 def __init__(self, conv, webio, sh, **kwargs):
     Operation.__init__(self, conv, webio, sh, **kwargs)
     self.send_args = kwargs
示例#16
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.conv.req = self
     self.tests = copy.deepcopy(self._tests)
     self.request = self.conv.msg_factory(self.request_cls)
     self.response = self.conv.msg_factory(self.response_cls)
示例#17
0
 def __init__(self, conv, io, sh, **kwargs):
     Operation.__init__(self, conv, io, sh, **kwargs)
     self.op_args["state"] = conv.state
     self.req_args["redirect_uri"] = conv.entity.redirect_uris[0]