def __init__(self, base_uri, username, password, project_id=None, disable_ssl_certificate_validation=False): self.base_uri = base_uri.rstrip('/') self.project_id = project_id self.app = None self.auth = auth_lib.Auth(self.base_uri + '/login', username, password, project_id, disable_ssl_certificate_validation)
def __init__(self, base_uri, username, password, project_id=None): self.base_uri = base_uri self.project_id = project_id self.app = None self.auth = auth_lib.Auth(base_uri + '/login', username, password, project_id)
def __init__(self, base_uri, username, password, project_id=None): self.auth_lib = auth_lib.Auth(base_uri + '/login', username, password, project_id)