Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordSalt ¶
PasswordSalt interface.
type User ¶
type User interface {
// GetRoles returns the roles granted to the user.
GetRoles() []string
// GetPassword returns the password used to authenticate the user
GetPassword() string
// GetUsername returns the username used to authenticate the user
GetUsername() string
// IsExpired indicates whether the user's account has expired.
IsExpired() bool
// IsLocked indicates whether the user is locked or unlocked.
IsLocked() bool
// IsEnabled indicates whether the user is enabled or disabled.
IsEnabled() bool
// IsCredentialsExpired indicates whether the user's credentials (password) has expired.
IsCredentialsExpired() bool
}
User interface provides core user information.
type UserPasswordSalt ¶
type UserPasswordSalt interface {
User
PasswordSalt
}
UserPasswordSalt interface.
Click to show internal directories.
Click to hide internal directories.