swiftclient-net icon indicating copy to clipboard operation
swiftclient-net copied to clipboard

How to migrate from openstacknet

Open ndphuong opened this issue 6 years ago • 1 comments

We have plan switch from openstacknet library: What is code similar to this:


CloudIdentityWithProject identity = new CloudIdentityWithProject
            {
                Username = ovhAuthProfile.UserName,
                Password = ovhAuthProfile.Password,
                ProjectId = new ProjectId(ovhAuthProfile.TenantId),
                ProjectName = ovhAuthProfile.TenantId
            };
            identityProvider = new OpenStackIdentityProvider(authUri, identity);
            identityToken = identityProvider.GetToken(identityProvider.DefaultIdentity);
            storageProvider = new CloudFilesProvider(identity, identityProvider);

ndphuong avatar Jul 26 '17 03:07 ndphuong