file

package
v0.0.0-...-2c46020 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDirectory

func NewDirectory(path string, redirectURL string) oauthenticator.Provider

Types

type Configdata

type Configdata struct {
	Type_        string            `json:"type"`
	Label_       string            `json:"label"`
	ClientID     string            `json:"clientid"`
	ClientSecret string            `json:"clientsecret"`
	AuthURL      string            `json:"authurl"`
	TokenURL     string            `json:"tokenurl"`
	Params       map[string]string `json:"params"`
}

func (*Configdata) Endpoint

func (c *Configdata) Endpoint() oauth2.Endpoint

func (*Configdata) Label

func (c *Configdata) Label() string

func (*Configdata) Load

func (c *Configdata) Load(path string) error

func (*Configdata) Type

func (c *Configdata) Type() string

Jump to

Keyboard shortcuts

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