authentication

package
v0.0.0-...-face4fc Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(config IdProviderConfig) (string, error)

Types

type EnvConfig

type EnvConfig struct {
	Domain        string
	UserEmail     string
	UserPassword  string
	ClientTimeout time.Duration
}

type IdProviderConfig

type IdProviderConfig struct {
	DexConfig       dexConfig
	ClientConfig    clientConfig
	UserCredentials userCredentials
	RetryConfig     retryConfig
}

func BuildIdProviderConfig

func BuildIdProviderConfig(envConfig EnvConfig) IdProviderConfig

Jump to

Keyboard shortcuts

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