Package: bearer
import "../ibm-cos-sdk-go/aws/auth/bearer"
Type Summary collapse
-
StaticTokenProvider
struct
StaticTokenProvider provides a utility for wrapping a static bearer token value within an implementation of a token provider.
-
Token
struct
Token provides a type wrapping a bearer token and expiration metadata.
-
TokenProviderFunc
struct
RetrieveBearerToken calls the wrapped function, returning the Token or error.
Interface Summary collapse
-
TokenProvider
interface
TokenProvider provides interface for retrieving bearer tokens.