github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/identity/v2/tokens/urls.go (about)

     1  package tokens
     2  
     3  import "github.com/chnsz/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  }