public void CannotSupportVersion1() { var endpoint = new Uri("https://someidentityendpoint:35357/v1.0/tokens"); var userName = "******"; var password = "******"; var tenantId = "12345"; var creds = new OpenStackCredential(endpoint, userName, password, tenantId); var client = new IdentityServiceClientDefinition(); Assert.IsFalse(client.IsSupported(creds, string.Empty)); }
public void CanSupportVersion2() { var client = new IdentityServiceClientDefinition(); Assert.IsTrue(client.IsSupported(GetValidCredentials(), string.Empty)); }