Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolvePath ¶
ResolvePath returns the path evaluated as relative to base.
Types ¶
type AppSpecificPassword ¶
AppSpecificPassword is a password tied to a single service.
type ServiceBackend ¶
ServiceBackend looks up user info for a specific service.
type Spec ¶
type Spec struct { BackendName string `yaml:"backend"` Params yaml.Node `yaml:"params"` StaticGroups []string `yaml:"static_groups"` }
Spec specifies backend-specific configuration for a service.
type User ¶
type User struct { Name string Email string Shard string EncryptedPassword []byte TOTPSecret string WebAuthnRegistrations []webauthn.Credential AppSpecificPasswords []*AppSpecificPassword Groups []string }
User contains the attributes of a user account as relevant to the authentication server. It is only used internally, to communicate between the authserver and its storage backends.
type UserBackend ¶
type UserBackend interface { Close() NewServiceBackend(*Spec) (ServiceBackend, error) }
UserBackend provides us with per-service user information.
Click to show internal directories.
Click to hide internal directories.