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

def ubuntu_sso::main::LoginProcessor::is_valid_url (   self,
  url 
)

Simple check for URL validity

Definition at line 155 of file main.py.

00155                                :
        """Simple check for URL validity"""
        # pylint: disable-msg=W0612
        scheme, netloc, path, query, fragment = urlparse.urlsplit(url)
        if scheme and netloc:
            return True
        else:
            return False

    def got_token(self, access_token):


Generated by  Doxygen 1.6.0   Back to index