Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthServerUser ¶
type AuthServerUser struct { ID_ string `json:"id"` // need exported for unmarshalling Username_ string `json:"username"` Password_ string `json:"password"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` EmailVerified bool `json:"emailVerified"` Phone string `json:"phone"` PhoneVerified bool `json:"phoneVerified"` PreferredLanguage language.Tag `json:"preferredLanguage"` IsAdmin_ bool `json:"isAdmin"` }
AuthServerUser implements oidc-server storage.User. It is used for development and testing purposes only. nolint: revive Still cannot access common interface fields:
https://go101.org/generics/888-the-status-quo-of-go-custom-generics.html
func (AuthServerUser) ID ¶
func (u AuthServerUser) ID() string
func (AuthServerUser) IsAdmin ¶
func (u AuthServerUser) IsAdmin() bool
func (AuthServerUser) Password ¶
func (u AuthServerUser) Password() string
func (AuthServerUser) Username ¶
func (u AuthServerUser) Username() string
Click to show internal directories.
Click to hide internal directories.