Enum bsd_auth::AuthItem [−][src]
#[repr(u32)] pub enum AuthItem { All, Challenge, Class, Name, Service, Style, Interactive, }
Expand description
Request item values for auth_getitem()
Item documentation from auth_subr(3)
Variants
All items
The latest challenge, if any, set for the session
The class of the user, as defined by the /etc/login.conf
file.
This value is not directly used by BSD Authentication, rather, it is passed to the login
scripts for their possible use.
The name of the user being authenticated. The name should include the instance, if any, that is being requested.
The service requesting the authentication. Initially it is set to the default service which provides the traditional interactive service.
The style of authentication being performed, as defined by the /etc/login.conf
file.
The style determines which login script should actually be used.
If set to any value, then the session is tagged as interactive. If not set, the session is not interactive. When the value is requested it is always either NULL or “True”. The auth subroutines may choose to provide additional information to standard output or standard error when the session is interactive. There is no functional change in the operation of the subroutines.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthItem
impl UnwindSafe for AuthItem
Blanket Implementations
Mutably borrows from an owned value. Read more