Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SignRequestHandler = request.NamedHandler{ Name: signRequestHandlerLog, Fn: Sign, }
SignRequestHandler is a named request handler the SDK will use to sign service client request with using the IBM IAM signature.
Functions ¶
func Sign ¶
Sign signs IBM IAM requests with the token type, access token and service instance id request is made to, and time the request is signed at.
Returns a list of HTTP headers that were included in the signature or an error if signing the request failed. Generally for signed requests this value is not needed as the full request context will be captured by the http.Request value. It is included for reference though.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.