Enum login_cap::AuthFlags[][src]

#[repr(u32)]
pub enum AuthFlags {
    Okay,
    RootOkay,
    Secure,
    Silent,
    Challenge,
    Expired,
    PwExpired,
    Allow,
}
Expand description

Bit flags which can be returned by authenticate()/auth_scan()

Variants

Okay

User authenticated

RootOkay

Authenticated as root

Secure

Secure login

Silent

Silent rejection

Challenge

A challenge was given

Expired

Account expired

PwExpired

Password expired

Allow

(AUTH_OKAY | AUTH_ROOTOKAY | AUTH_SECURE)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.