Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignatureRequest ¶
type SignatureRequest struct {
// contains filtered or unexported fields
}
SignatureRequest represents object which is used to sign request
func New ¶
func New(cr *edgegrid.Credentials, scheme, host string) SignatureRequest
New takes all required parameters and returns the required auth header
func (*SignatureRequest) SignRequest ¶
func (sr *SignatureRequest) SignRequest(rrq *http.Request, headersToSign []string) string
SignRequest returns a string that can be used as the `Authorization` header when making Akamai API requests.
The string returned by this method conforms to the Akamai {OPEN} EdgeGrid Authentication scheme. https://developer.akamai.com/introduction/Client_Auth.html
Click to show internal directories.
Click to hide internal directories.