auth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Token

func Token(ctx context.Context, options ...Option) (*token, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type Option

type Option func(*Config) error

func DisableCache

func DisableCache(disableCache bool) Option

func Duration

func Duration(s string) Option

func Profile

func Profile(profile string) Option

func RoleArn

func RoleArn(roleArn string) Option

func SerialNumber

func SerialNumber(sNum string) Option

func SourceProfile

func SourceProfile(sourceProfile string) Option

func TokenCode

func TokenCode(tokenCode string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳