auth

package
v0.0.0-...-b517edd Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConnector

type AuthConnector interface {
	// contains filtered or unexported methods
}

type Config

type Config struct {
	Connectors []AuthConnector
}

type DexIntegration

type DexIntegration struct {
	// contains filtered or unexported fields
}

func NewDexServer

func NewDexServer(session *scs.SessionManager, externalAddr string, port int, config Config) (*DexIntegration, error)

func (*DexIntegration) Router

func (d *DexIntegration) Router() *mux.Router

type GitlabConfig

type GitlabConfig struct {
	Name         string `yaml:"name"`
	BaseURL      string `yaml:"baseURL"`
	ClientID     string `yaml:"clientID"`
	ClientSecret string `yaml:"clientSecret"`
}

implements toDexConnector

type OIDCConfig

type OIDCConfig struct {
	Name         string `yaml:"name"`
	Issuer       string `yaml:"issuer"`
	ClientID     string `yaml:"clientID"`
	ClientSecret string `yaml:"clientSecret"`
}

implements toDexConnector

Jump to

Keyboard shortcuts

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