blob: 91fc814bda2168115cd5bf76a30fbc1ffbeea8d1 [file] [log] [blame]
package main
import (
"github.com/rackspace/gophercloud"
)
func main() {
provider, username, password := getCredentials()
_, err := gophercloud.Authenticate(
provider,
gophercloud.AuthOptions{
Username: username,
Password: password,
},
)
if err != nil {
panic(err)
}
}