ibmiam

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

func Sign(req *request.Request)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL