auth

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawToken

type RawToken string

func (RawToken) GetRawToken

func (token RawToken) GetRawToken(ctx context.Context) (RawToken, error)

func (RawToken) String

func (token RawToken) String() string

type SecretsManagerTokenProvider

type SecretsManagerTokenProvider struct {
	Config secretsmanagerauth.Config
	// contains filtered or unexported fields
}

func (*SecretsManagerTokenProvider) GetRawToken

func (provider *SecretsManagerTokenProvider) GetRawToken(ctx context.Context) (RawToken, error)

type TokenProvider

type TokenProvider interface {
	GetRawToken(ctx context.Context) (RawToken, error)
}

Jump to

Keyboard shortcuts

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