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