pub struct AcquireCredentialsHandle<'a, Inner, CredsHandle, AuthData, CredentialUseSet> where
    Inner: SspiImpl,
    CredentialUseSet: ToAssign
{ pub credential_use: CredentialUse, pub principal_name: Option<&'a str>, pub logon_id: Option<u64>, pub auth_data: Option<&'a AuthData>, /* private fields */ }
Expand description

A builder to execute one of the SSPI functions. Returned by the acquire_credentials_handle method.

Requirements for execution

These methods are required to be called before calling the execute method

Fields

credential_use: CredentialUseprincipal_name: Option<&'a str>logon_id: Option<u64>auth_data: Option<&'a AuthData>

Implementations

Specifies a flag that indicates how these credentials will be used.

Specifies a string that specifies the name of the principal whose credentials the handle will reference.

Specifies a LUID that identifies the user. This parameter is provided for file-system processes such as network redirectors.

Specifies a reference to the structure that specifies authentication data for both Schannel and Negotiate packages.

Executes the SSPI function that the builder represents.

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.