Documentation ¶
Index ¶
- Variables
- func GetDefaultPassword(ctx context.Context, c client.Client, userid string) (*string, error)
- func IsDefaultPassword(ctx context.Context, c client.Client, userid string) (bool, error)
- func RegisterPassword(ctx context.Context, c client.Client, userid string, password []byte) error
- func ResetPassword(ctx context.Context, c client.Client, userid string) error
- func VerifyPassword(ctx context.Context, c client.Client, userid string, pass []byte) (verified bool, isDefault bool, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotDefaultPassword = errors.New("not default password")
Functions ¶
func GetDefaultPassword ¶
func IsDefaultPassword ¶
func RegisterPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.