Ash Wilson | 1f11051 | 2014-10-02 15:43:47 -0400 | [diff] [blame] | 1 | package tokens |
| 2 | |
| 3 | import "github.com/rackspace/gophercloud" |
| 4 | |
Ash Wilson | d2d49c4 | 2014-10-07 14:16:36 -0400 | [diff] [blame] | 5 | // CreateURL generates the URL used to create new Tokens. |
| 6 | func CreateURL(client *gophercloud.ServiceClient) string { |
Ash Wilson | 1f11051 | 2014-10-02 15:43:47 -0400 | [diff] [blame] | 7 | return client.ServiceURL("tokens") |
| 8 | } |
hzlouchao | f6e2926 | 2015-10-27 12:51:08 +0800 | [diff] [blame^] | 9 | |
| 10 | // CreateGetURL generates the URL used to Validate Tokens. |
| 11 | func CreateGetURL(client *gophercloud.ServiceClient, token string) string { |
| 12 | return client.ServiceURL("tokens", token) |
| 13 | } |