Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateUser(id string, user *UserData) error UpdateUser(id string, update func(user *UserData) error) error DeleteUser(id string) error }
Client is the interface for all backends clients
type UserData ¶
type UserData struct { PasswordHash string `json:"password"` ExtraClaims auth.ExtraClaims `json:"claims"` }
UserData is a simple user struct with paswordhash and claims
Click to show internal directories.
Click to hide internal directories.