Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetToken ¶
func GetToken(refName string, client *piperhttp.Client, systemTrustConfiguration Configuration) (string, error)
GetToken requests a single token. By default, refName is used as the system and the default scope is applied. If refName contains "<scope>", the value before "<scope>" is used as the system and the value after "<scope>" is propagated as the scope.
func PrepareClient ¶
func PrepareClient(client *piperhttp.Client, systemTrustConfiguration Configuration) *piperhttp.Client
PrepareClient adds the System Trust authentication token to the client
Types ¶
type Configuration ¶
Click to show internal directories.
Click to hide internal directories.