Trait SspiImpl

Source
pub trait SspiImpl {
    type CredentialsHandle;
    type AuthenticationData;

    // Required methods
    fn acquire_credentials_handle_impl(
        &mut self,
        builder: FilledAcquireCredentialsHandle<'_, Self::CredentialsHandle, Self::AuthenticationData>,
    ) -> Result<AcquireCredentialsHandleResult<Self::CredentialsHandle>>;
    fn initialize_security_context_impl<'a>(
        &'a mut self,
        builder: &'a mut FilledInitializeSecurityContext<'a, Self::CredentialsHandle>,
    ) -> Result<GeneratorInitSecurityContext<'a>>;
    fn accept_security_context_impl<'a>(
        &'a mut self,
        builder: FilledAcceptSecurityContext<'a, Self::CredentialsHandle>,
    ) -> Result<GeneratorAcceptSecurityContext<'a>>;
}
Expand description

Trait for performing authentication on the client or server side

Required Associated Types§

Source

type CredentialsHandle

Represents raw data for authentication

Source

type AuthenticationData

Represents authentication data prepared for the authentication process

Required Methods§

Implementors§