github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/objectstorage/v1/swauth/doc.go (about) 1 /* 2 Package swauth implements Swift's built-in authentication. 3 4 Example to Authenticate with swauth 5 6 authOpts := swauth.AuthOpts{ 7 User: "project:user", 8 Key: "password", 9 } 10 11 swiftClient, err := swauth.NewObjectStorageV1(providerClient, authOpts) 12 if err != nil { 13 panic(err) 14 } 15 */ 16 package swauth