blob: 5cc9d38d5d1bdb44ad2cf497c7cf363ad920c93d [file] [log] [blame]
Samuel A. Falvo II2dd7d2f2014-06-30 16:18:08 -07001// +build acceptance,old
2
Samuel A. Falvo II1d3fa662013-06-25 15:29:32 -07003package main
4
5import (
Samuel A. Falvo II1d3fa662013-06-25 15:29:32 -07006 "github.com/rackspace/gophercloud"
7)
8
9func main() {
Rafael Garciae4a550e2013-12-06 17:00:32 -030010 provider, username, password, _ := getCredentials()
Samuel A. Falvo II1d3fa662013-06-25 15:29:32 -070011
12 _, err := gophercloud.Authenticate(
13 provider,
14 gophercloud.AuthOptions{
15 Username: username,
16 Password: password,
17 },
18 )
19 if err != nil {
20 panic(err)
21 }
22}