#[non_exhaustive]#[repr(u8)]pub enum FedAuthLibrary {
SecurityToken = 1,
Adal = 2,
}Expand description
FEDAUTH library identifiers for the LOGIN7 FEDAUTH feature extension.
Per MS-TDS §2.2.6.4, bFedAuthLibrary is a 7-bit value that occupies the
high 7 bits of the feature data’s Options byte (the low bit is
fFedAuthEcho). Live ID Compact Token (0x00) is legacy and not supported;
0x7F is reserved.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SecurityToken = 1
Security token: a token acquired by the client before login and sent inside LOGIN7 (the workflow used for pre-acquired Azure AD tokens).
Adal = 2
ADAL: the client declares intent and acquires the token after the server’s FEDAUTHINFO response. MSAL (ADAL’s successor) uses this same wire identifier.
Implementations§
Trait Implementations§
Source§impl Clone for FedAuthLibrary
impl Clone for FedAuthLibrary
Source§fn clone(&self) -> FedAuthLibrary
fn clone(&self) -> FedAuthLibrary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FedAuthLibrary
Source§impl Debug for FedAuthLibrary
impl Debug for FedAuthLibrary
impl Eq for FedAuthLibrary
Source§impl PartialEq for FedAuthLibrary
impl PartialEq for FedAuthLibrary
Source§fn eq(&self, other: &FedAuthLibrary) -> bool
fn eq(&self, other: &FedAuthLibrary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FedAuthLibrary
Auto Trait Implementations§
impl Freeze for FedAuthLibrary
impl RefUnwindSafe for FedAuthLibrary
impl Send for FedAuthLibrary
impl Sync for FedAuthLibrary
impl Unpin for FedAuthLibrary
impl UnsafeUnpin for FedAuthLibrary
impl UnwindSafe for FedAuthLibrary
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