SspiSecurityTokenProvider Constructors

Definition

Initializes a new instance of the SspiSecurityTokenProvider class.

Overloads

SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean)

Source:
SspiSecurityTokenProvider.cs
Source:
SspiSecurityTokenProvider.cs

Initializes a new instance of the SspiSecurityTokenProvider class.

public SspiSecurityTokenProvider (System.Net.NetworkCredential credential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);

Parameters

credential
NetworkCredential

The NetworkCredential that represents the server identity.

extractGroupsForWindowsAccounts
Boolean

true to expand users to include Windows Groups; otherwise, false.

allowUnauthenticatedCallers
Boolean

true to allow unauthenticated callers; otherwise, false.

Remarks

The instance of this class is used for SSPI tokens on the service.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel)

Source:
SspiSecurityTokenProvider.cs
Source:
SspiSecurityTokenProvider.cs

Initializes a new instance of the SspiSecurityTokenProvider class.

public SspiSecurityTokenProvider (System.Net.NetworkCredential credential, bool allowNtlm, System.Security.Principal.TokenImpersonationLevel impersonationLevel);

Parameters

credential
NetworkCredential

The NetworkCredential that represents the client identity.

allowNtlm
Boolean

true to allow NTLM authentication; otherwise, false.

impersonationLevel
TokenImpersonationLevel

The TokenImpersonationLevel granted to the server.

Remarks

The new instance of this class is used for SSPI tokens on the client.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1