tcauth/tcauth.go
func (auth *Auth) WebsocktunnelToken(wstAudience, wstClient string) (*WebsocktunnelTokenResponse, error) {
	cd := tcclient.Client(*auth)
	responseObject, _, err := (&cd).APICall(nil, "GET", "/websocktunnel/"+url.QueryEscape(wstAudience)+"/"+url.QueryEscape(wstClient), new(WebsocktunnelTokenResponse), nil)
	return responseObject.(*WebsocktunnelTokenResponse), err
}
func (auth *Auth) WebsocktunnelToken(wstAudience, wstClient string) (*WebsocktunnelTokenResponse, error) {
	cd := tcclient.Client(*auth)
	responseObject, _, err := (&cd).APICall(nil, "GET", "/websocktunnel/"+url.QueryEscape(wstAudience)+"/"+url.QueryEscape(wstClient), new(WebsocktunnelTokenResponse), nil)
	return responseObject.(*WebsocktunnelTokenResponse), err
}
// Get a temporary token suitable for use connecting to a
// [websocktunnel](https://github.com/taskcluster/websocktunnel) server.
//
// The resulting token will only be accepted by servers with a matching audience
// value.  Reaching such a server is the callers responsibility.  In general,
// a server URL or set of URLs should be provided to the caller as configuration
// along with the audience value.
//
// The token is valid for a limited time (on the scale of hours). Callers should
// refresh it before expiration.
//
// Required scopes:
//   auth:websocktunnel-token:<wstAudience>/<wstClient>
//
// See #websocktunnelToken