static

package
v0.0.0-...-8fe0c81 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticProviderConfig

type StaticProviderConfig struct {
	config.BaseProviderConfig `yaml:",inline"`
	Users                     []User `yaml:"users"`
}

func (*StaticProviderConfig) Open

func (this *StaticProviderConfig) Open(idx int, configFolder string) (providers.Provider, error)

type User

type User struct {
	Login        string   `yaml:"login"`
	PasswordHash string   `yaml:"passwordHash"`
	Id           *int     `yaml:"id,omitempty"`
	Groups       []string `yaml:"groups"`
	Email        string   `yaml:"email"`
	CommonName   string   `yaml:"commonName"`
}

Jump to

Keyboard shortcuts

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