oauth2

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuth2Config

type OAuth2Config 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"`
}

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

func (*OAuth2Config) IsValid

func (x *OAuth2Config) IsValid() bool

Jump to

Keyboard shortcuts

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