oauth

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ClientID             string   `json:"clientID"`
	ClientSecret         string   `json:"clientSecret"`
	RedirectURI          string   `json:"redirectURI"`
	TokenURL             string   `json:"tokenURL"`
	AuthorizationURL     string   `json:"authorizationURL"`
	UserInfoURL          string   `json:"userInfoURL"`
	Scopes               []string `json:"scopes"`
	GroupsKey            string   `json:"groupsKey"`
	UserIDKey            string   `json:"userIDKey"`
	UserNameKey          string   `json:"userNameKey"`
	PreferredUsernameKey string   `json:"preferredUsernameKey"`
	RootCAs              []string `json:"rootCAs"`
	InsecureSkipVerify   bool     `json:"insecureSkipVerify"`
}

func (*Config) Open

func (c *Config) Open(id string, logger log.Logger) (connector.Connector, error)

Jump to

Keyboard shortcuts

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