Struct: bearer.TokenProviderFunc

import "../ibm-cos-sdk-go/aws/auth/bearer"

Overview

RetrieveBearerToken calls the wrapped function, returning the Token or error.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, bearer.TokenProvider, s3manager.WriterReadFrom

Method Summary collapse

Method Details

func (fn TokenProviderFunc) RetrieveBearerToken(ctx aws.Context) (Token, error)



36
37
38
// File 'aws/auth/bearer/token.go', line 36

func (fn TokenProviderFunc) RetrieveBearerToken(ctx aws.Context) (Token, error) { return fn(ctx) }