Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity struct {
Username string `json:"username"`
Password string `json:"password"`
Details UserDetails
}
Identity is the core component for Tekmor used for authentication against PAM
func (Identity) Authenticate ¶
func (i Identity) Authenticate() (UserDetails, error)
Authenticate handles determining whether or not an Identity is valid per PAM
type UserDetails ¶
UserDetails is a struct containing Unix Shell details for an account that has PAM Authenticated
Click to show internal directories.
Click to hide internal directories.