authentication

package
v0.0.0-...-4315425 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 14 Imported by: 7

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