github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/identity/v2/tokens/urls.go (about)

     1  package tokens
     2  
     3  import "github.com/huaweicloud/golangsdk"
     4  
     5  // CreateURL generates the URL used to create new Tokens.
     6  func CreateURL(client *golangsdk.ServiceClient) string {
     7  	return client.ServiceURL("tokens")
     8  }
     9  
    10  // GetURL generates the URL used to Validate Tokens.
    11  func GetURL(client *golangsdk.ServiceClient, token string) string {
    12  	return client.ServiceURL("tokens", token)
    13  }