Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { Name string `yaml:"name"` Email string `yaml:"email"` EncryptedPassword string `yaml:"password"` TOTPSecret string `yaml:"totp_secret"` Groups []string `yaml:"groups"` // WebAuthN registrations are encoded as emitted by modern // versions of pamu2fcfg: both values are base64-encoded // (standard, with padding). The key is actually in COSE format. WebAuthnRegistrations []struct { KeyHandle string `yaml:"key_handle"` PublicKey string `yaml:"public_key"` Comment string `yaml:"comment"` } `yaml:"webauthn_registrations"` AppSpecificPasswords []struct { ID string `yaml:"id"` Service string `yaml:"service"` EncryptedPassword string `yaml:"password"` Comment string `yaml:"comment"` } `yaml:"app_specific_passwords"` }
User type needed to bridge between YAML and the internal User representation.
Click to show internal directories.
Click to hide internal directories.