pub enum AuthMethod {
SqlServer,
AzureAd,
Integrated,
Certificate,
}Expand description
Authentication method enumeration.
This indicates which authentication flow to use during connection.
Variants§
SqlServer
SQL Server authentication (username/password in Login7).
AzureAd
Azure AD / Entra ID federated authentication.
Integrated
Integrated Windows authentication (SSPI/Kerberos).
Certificate
Certificate-based authentication.
Implementations§
Source§impl AuthMethod
impl AuthMethod
Sourcepub fn is_federated(&self) -> bool
pub fn is_federated(&self) -> bool
Check if this method uses federated authentication.
Sourcepub fn uses_login7_credentials(&self) -> bool
pub fn uses_login7_credentials(&self) -> bool
Check if this method uses Login7 credentials.
Trait Implementations§
Source§impl Clone for AuthMethod
impl Clone for AuthMethod
Source§fn clone(&self) -> AuthMethod
fn clone(&self) -> AuthMethod
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthMethod
impl Debug for AuthMethod
Source§impl PartialEq for AuthMethod
impl PartialEq for AuthMethod
impl Copy for AuthMethod
impl Eq for AuthMethod
impl StructuralPartialEq for AuthMethod
Auto Trait Implementations§
impl Freeze for AuthMethod
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)