Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectToken ¶
type ProjectToken struct {
Name string `yaml:"name"`
ClientId string `yaml:"clientId"`
ClientSecret string `yaml:"clientSecret"`
ValidUntil string `yaml:"validUntil"`
ApiServer string `yaml:"apiServer"`
ActiveEnvironment string `yaml:"activeEnvironment"`
JWT JWT `yaml:"jwt,omitempty"`
}
func GetProjectAuthConfig ¶
func GetProjectAuthConfig(ctx context.Context, configDir *string) (*ProjectToken, error)
type ProjectTokens ¶
type ProjectTokens struct {
Tokens map[string]*ProjectToken `yaml:"tokens,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.