Beispiel #1
0
    def __init__(self, operations_mod, client_class, consumer_class,
                 msgfactory, chk_factory, conversation_cls):
        OAuth2.__init__(self, operations_mod, client_class, msgfactory,
                        chk_factory, conversation_cls)

        #self._parser.add_argument('-R', dest="rsakey")
        self._parser.add_argument(
            '-i', dest="internal_server", action='store_true',
            help="Whether or not an internal web server to handle key export should be forked")
        self._parser.add_argument(
            '-e', dest="external_server", action='store_true',
            help="A external web server are used to handle key export")

        self.consumer_class = consumer_class
Beispiel #2
0
    def __init__(self, operations_mod, client_class, consumer_class, msgfactory, chk_factory, conversation_cls):
        OAuth2.__init__(self, operations_mod, client_class, msgfactory, chk_factory, conversation_cls)

        # self._parser.add_argument('-R', dest="rsakey")
        self._parser.add_argument(
            "-i",
            dest="internal_server",
            action="store_true",
            help="Whether or not an internal web server to handle key export should be forked",
        )
        self._parser.add_argument(
            "-e",
            dest="external_server",
            action="store_true",
            help="A external web server are used to handle key export",
        )
        self._parser.add_argument("-S", dest="script_path", help="Path to the script running the static web server")
        self.consumer_class = consumer_class
Beispiel #3
0
    def __init__(self, operations_mod, client_class, consumer_class,
                 msgfactory, chk_factory, conversation_cls):
        OAuth2.__init__(self, operations_mod, client_class, msgfactory,
                        chk_factory, conversation_cls)

        #self._parser.add_argument('-R', dest="rsakey")
        self._parser.add_argument(
            '-i',
            dest="internal_server",
            action='store_true',
            help=
            "Whether or not an internal web server to handle key export should be forked"
        )
        self._parser.add_argument(
            '-e',
            dest="external_server",
            action='store_true',
            help="A external web server are used to handle key export")
        self._parser.add_argument(
            '-S',
            dest="script_path",
            help="Path to the script running the static web server")
        self.consumer_class = consumer_class