generic

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 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 Auth

type Auth struct {
	ClientID *secret.Secret `json:"clientID,omitempty" yaml:"clientID,omitempty"`
	//Existing secret with the clientID
	ExistingClientIDSecret *secret.Existing `json:"existingClientIDSecret,omitempty" yaml:"existingClientIDSecret,omitempty"`
	ClientSecret           *secret.Secret   `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
	//Existing secret with the clientSecret
	ExistingClientSecretSecret *secret.Existing `json:"existingClientSecretSecret,omitempty" yaml:"existingClientSecretSecret,omitempty"`
	//Used scopes for the OAuth-flow
	Scopes []string `json:"scopes,omitempty" yaml:"scopes,omitempty"`
	//Auth-endpoint
	AuthURL string `json:"authURL,omitempty" yaml:"authURL,omitempty"`
	//Token-endpoint
	TokenURL string `json:"tokenURL,omitempty" yaml:"tokenURL,omitempty"`
	//Userinfo-endpoint
	APIURL string `json:"apiURL,omitempty" yaml:"apiURL,omitempty"`
	//Domains allowed to login
	AllowedDomains []string `json:"allowedDomains,omitempty" yaml:"allowedDomains,omitempty"`
}

func (*Auth) IsZero

func (a *Auth) IsZero() bool

Jump to

Keyboard shortcuts

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