pub enum PamFlag {
SILENT = 32_768,
DISALLOW_NULL_AUTHTOK = 1,
ESTABLISH_CRED = 2,
DELETE_CRED = 4,
REINITIALIZE_CRED = 8,
REFRESH_CRED = 16,
CHANGE_EXPIRED_AUTHTOK = 32,
NONE = 0,
}Expand description
The Linux-PAM flags
Variants§
SILENT = 32_768
Authentication service should not generate any messages
DISALLOW_NULL_AUTHTOK = 1
The authentication service should return AUTH_ERROR if the user has a null authentication token (used by pam_authenticate{,_secondary}())
ESTABLISH_CRED = 2
Set user credentials for an authentication service (used for pam_setcred())
DELETE_CRED = 4
Delete user credentials associated with an authentication service (used for pam_setcred())
REINITIALIZE_CRED = 8
Reinitialize user credentials (used for pam_setcred())
REFRESH_CRED = 16
Extend lifetime of user credentials (used for pam_setcred())
CHANGE_EXPIRED_AUTHTOK = 32
The password service should only update those passwords that have aged. If this flag is not passed, the password service should update all passwords. (used by pam_chauthtok)
NONE = 0
Trait Implementations§
impl Copy for PamFlag
impl StructuralPartialEq for PamFlag
Auto Trait Implementations§
impl Freeze for PamFlag
impl RefUnwindSafe for PamFlag
impl Send for PamFlag
impl Sync for PamFlag
impl Unpin for PamFlag
impl UnwindSafe for PamFlag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more