(self, username=None)
return '{}?username={}'.format(
            reverse('sso_saml_login', args=(self.slug,)),
            username
        )
Gets the login endpoint for the IdentityProvider based on the protocol
        being used. Since we only support SAML2 right now, this redirects to
        the SAML2 login endpoint.
        :param username: (string) username to pre-populate IdP login with
        :return: (String) identity provider login url
Gets the login endpoint for the IdentityProvider based on the protocol
        being used. Since we only support SAML2 right now, this redirects to
        the SAML2 login endpoint.
        :param username: (string) username to pre-populate IdP login with
        :return: (String) identity provider login url
Gets the login endpoint for the IdentityProvider based on the protocol being used . Since we only support SAML2 right now this redirects to the SAML2 login endpoint . : param username : ( string ) username to pre - populate IdP login with : return : ( String ) identity provider login url
def get_login_url(self, username=None):
        """
        Gets the login endpoint for the IdentityProvider based on the protocol
        being used. Since we only support SAML2 right now, this redirects to
        the SAML2 login endpoint.
        :param username: (string) username to pre-populate IdP login with
        :return: (String) identity provider login url
        """
        return '{}?username={}'.format(
            reverse('sso_saml_login', args=(self.slug,)),
            username
        )
def get_login_url ( self , username = None ) : return '{}?username={}' . format ( reverse ( 'sso_saml_login' , args = ( self . slug , ) ) , username )