Logo Search packages:      
Sourcecode: ubuntu-sso-client version File versions  Download package

def ubuntu_sso::main::Login::login (   self,
  realm,
  consumer_key 
)

D-Bus method, exported over the bus, to initiate an OAuth login

Definition at line 222 of file main.py.

00222                                         :
        """D-Bus method, exported over the bus, to initiate an OAuth login"""
        logger.debug("login() D-Bus message received with realm='%s', " +
                     "consumer_key='%s'", realm, consumer_key)
        if self.currently_authing:
            logger.debug("Currently in the middle of OAuth: rejecting this")
            return
        self.currently_authing = True
        self.processor.login(realm, consumer_key)

    @dbus.service.method(dbus_interface=DBUS_IFACE_AUTH_NAME,
                                           in_signature='ssb', out_signature='')


Generated by  Doxygen 1.6.0   Back to index