server

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorAccessDenied = "access_denied"

Variables

This section is empty.

Functions

func ChangePasswordHandler added in v0.5.0

func ChangePasswordHandler(peopleStore people.Store) http.Handler

func Favicon16x16Handler added in v0.3.0

func Favicon16x16Handler() http.Handler

func Favicon32x32Handler added in v0.3.0

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, scope, version string) http.Handler

func InfoHandler added in v0.5.1

func InfoHandler(version, runtimeVersion string) http.Handler

func JwtScriptHandler added in v0.4.1

func JwtScriptHandler() http.Handler

func LoadLoginTemplate added in v0.3.1

func LoadLoginTemplate(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 added in v0.5.0

func LookupPersonHandler(peopleStore people.Store, customVersions map[string]map[string]string) http.Handler

func MainScriptHandler added in v0.4.1

func MainScriptHandler() http.Handler

func PutPersonHandler added in v0.5.0

func PutPersonHandler(peopleStore people.Store) http.Handler

func StyleHandler

func StyleHandler() http.Handler

Types

type PasswordChange added in v0.5.0

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