blob: 0bc51de5ed13c6d95d9f71d0f7daaa9cbf37446c [file] [log] [blame]
Ash Wilson1f110512014-10-02 15:43:47 -04001package tokens
2
3import "github.com/rackspace/gophercloud"
4
Ash Wilsond2d49c42014-10-07 14:16:36 -04005// CreateURL generates the URL used to create new Tokens.
6func CreateURL(client *gophercloud.ServiceClient) string {
Ash Wilson1f110512014-10-02 15:43:47 -04007 return client.ServiceURL("tokens")
8}
hzlouchaof6e29262015-10-27 12:51:08 +08009
10// CreateGetURL generates the URL used to Validate Tokens.
11func CreateGetURL(client *gophercloud.ServiceClient, token string) string {
12 return client.ServiceURL("tokens", token)
13}