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

def ubuntu_sso::main::Login::maybe_login (   self,
  realm,
  consumer_key,
  do_login 
)

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

Definition at line 234 of file main.py.

00234                                                         :
        """
        D-Bus method, exported over the bus, to maybe initiate an OAuth login
        """
        logger.debug("maybe_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, do_login)

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


Generated by  Doxygen 1.6.0   Back to index