server

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorAccessDenied = "access_denied"

Variables

This section is empty.

Functions

func ChangePasswordHandler

func ChangePasswordHandler(peopleStore people.Store) http.Handler

func Favicon16x16Handler

func Favicon16x16Handler() http.Handler

func Favicon32x32Handler

func Favicon32x32Handler() http.Handler

func FaviconHandler

func FaviconHandler() http.Handler

func HealthHandler

func HealthHandler(peopleStore people.Store) http.Handler

func IndexHandler

func IndexHandler(basePath string, serverSettings *settings.Server, peopleStore people.Store, clientStore clients.Store, scope, version string) http.Handler

func InfoHandler

func InfoHandler(version, runtimeVersion string) http.Handler

func LoadLoginTemplate

func LoadLoginTemplate(filename string) error

func LoadLogoutTemplate

func LoadLogoutTemplate(filename string) error

func LoginHandler

func LoginHandler(basePath string, peopleStore people.Store, clientStore clients.Store, issuer, sessionName string) http.Handler

func LogoutHandler

func LogoutHandler(basePath string, serverSettings *settings.Server, sessionStore sessions.Store, clientStore clients.Store) http.Handler

func LookupPersonHandler

func LookupPersonHandler(peopleStore people.Store, customVersions map[string]settings.CustomPeopleAPI, roleMappings oauth2.RoleMappings) http.Handler

func MainScriptHandler

func MainScriptHandler() http.Handler

func PutPersonHandler

func PutPersonHandler(peopleStore people.Store) http.Handler

func StyleHandler

func StyleHandler() http.Handler

Types

type PasswordChange

type PasswordChange struct {
	OldPassword string `json:"old_password"`
	NewPassword string `json:"new_password"`
}

Jump to

Keyboard shortcuts

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