Click or drag to resize

Pop3LoginSSPIAsync(SSPIMechanism, String, CancellationToken) Method

Logs user in using specified mechanism (Negotiate, Kerberos or NTLM).

Namespace: Limilabs.Client.POP3
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public Task LoginSSPIAsync(
	SSPIMechanism mechanism,
	string target,
	CancellationToken cancel = default
)

Parameters

mechanism  SSPIMechanism
Mechanism to use.
target  String
Indicates the service principal name (SPN) of the destination server. Default is "pop/" + fully qualified target name.
cancel  CancellationToken  (Optional)
A cancellation token that can be used to signal the asynchronous operation should be canceled.

Return Value

Task
A task that represents the asynchronous login operation.
Exceptions
ExceptionCondition
Pop3ResponseExceptionThrows Pop3ResponseException on error response.
See Also