passwordpolicy

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2020 License: MPL-2.0, MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPendingPasswordRotationForUser

func CheckPendingPasswordRotationForUser(userID, orgID string) (bool, error)

CheckPendingPasswordRotationForUser checks if a user has pending password expiry that needs to be enforced.

func EnforceChangePassword

func EnforceChangePassword(userID, orgID string) error

EnforceChangePassword will enforce users to change password

func EnforcePasswordPolicyNow

func EnforcePasswordPolicyNow(w http.ResponseWriter, r *http.Request)

EnforcePasswordPolicyNow will enforce password policy immediately

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL