Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PayloadHash ¶
PayloadHash creates payload hash calculator for given content-type
Types ¶
type Credentials ¶
type Credentials struct { ClientID string `json:"clientId"` AccessToken string `json:"accessToken"` Certificate string `json:"certificate"` AuthorizedScopes []string `json:"authorizedScopes"` }
Credentials for taskcluster and methods to sign requests.
func (*Credentials) SignHeader ¶
SignHeader generates a request signature for Authorization
func (*Credentials) SignRequest ¶
SignRequest will add an Authorization header
Click to show internal directories.
Click to hide internal directories.