oauth2

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 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        `json:"tokenUrl" yaml:"tokenUrl"`
	AuthUrl      string        `json:"authUrl" yaml:"authUrl"`
	ClientId     string        `json:"clientId" yaml:"clientId"`
	ClientSecret string        `json:"clientSecret" yaml:"clientSecret"`
	Scopes       []string      `json:"scopes" yaml:"scopes"`
	CachedToken  *oauth2.Token `json:"cachedToken,omitempty" 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