package
Version:
v0.0.0-...-0b341d7
Opens a new window with list of versions in this module.
Published: Nov 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewLogin(authenticate authenticate, callback func(string) string) *login
SetupServer creates an OIDC server with Issuer=http://localhost:<port>
Use one of the pre-made clients in storage/clients.go or register a new one.
type Storage interface {
op.Storage
CheckUsernamePassword(username, password, id string) (*interface{}, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.