google

package
v0.32.9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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 Config

type Config struct {
	ClientID *secret.Secret `yaml:"clientID,omitempty"`
	//Existing secret with the clientID
	ExistingClientIDSecret *secret.Existing `json:"existingClientIDSecret,omitempty" yaml:"existingClientIDSecret,omitempty"`
	ClientSecret           *secret.Secret   `yaml:"clientSecret,omitempty"`
	//Existing secret with the clientSecret
	ExistingClientSecretSecret *secret.Existing `json:"existingClientSecretSecret,omitempty" yaml:"existingClientSecretSecret,omitempty"`
	//List of hosted domains which are permitted to login
	HostedDomains []string `json:"hostedDomains,omitempty" yaml:"hostedDomains,omitempty"`
	//List of groups in the hosted domains which are permitted to login
	Groups             []string       `json:"groups,omitempty" yaml:"groups,omitempty"`
	ServiceAccountJSON *secret.Secret `yaml:"serviceAccountJSON,omitempty"`
	//Existing secret with the JSON of the service account
	ExistingServiceAccountJSONSecret *secret.Existing `json:"existingServiceAccountJSONSecret,omitempty" yaml:"existingServiceAccountJSONSecret,omitempty"`
	//File where the serviceAccountJSON will get persisted to impersonate G Suite admin
	ServiceAccountFilePath string `json:"serviceAccountFilePath,omitempty" yaml:"serviceAccountFilePath,omitempty"`
	//Email of a G Suite admin to impersonate
	AdminEmail string `json:"adminEmail,omitempty" yaml:"adminEmail,omitempty"`
}

func (*Config) IsZero added in v0.32.6

func (c *Config) IsZero() bool

type Connector

type Connector struct {
	//Internal id of the google provider
	ID string `json:"id,omitempty" yaml:"id,omitempty"`
	//Internal name of the google provider
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
	//Configuration for the google provider
	Config *Config `json:"config,omitempty" yaml:"config,omitempty"`
}

func (*Connector) IsZero added in v0.32.6

func (c *Connector) IsZero() bool

Jump to

Keyboard shortcuts

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