oauth2

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.21.1

type Config struct {
	TokenUrl     string        `yaml:"tokenUrl"`
	AuthUrl      string        `yaml:"authUrl"`
	ClientId     string        `yaml:"clientId"`
	ClientSecret string        `yaml:"clientSecret"`
	Scopes       []string      `yaml:"scopes"`
	CachedToken  *oauth2.Token `yaml:"cachedToken,omitempty"`
}

Config is the configuration for using OAuth2.0 to authenticate with Spinnaker

func (*Config) IsValid added in v1.21.1

func (x *Config) IsValid() bool

Jump to

Keyboard shortcuts

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