Modifier

Partager via


SspiSecurityToken Constructors

Definition

Initializes a new instance of the SspiSecurityToken class.

Overloads

SspiSecurityToken(NetworkCredential, Boolean, Boolean)

Initializes a new instance of the SspiSecurityToken class.

SspiSecurityToken(TokenImpersonationLevel, Boolean, NetworkCredential)

Initializes a new instance of the SspiSecurityToken class.

SspiSecurityToken(NetworkCredential, Boolean, Boolean)

Source:
SspiSecurityToken.cs
Source:
SspiSecurityToken.cs
Source:
SspiSecurityToken.cs

Initializes a new instance of the SspiSecurityToken class.

public:
 SspiSecurityToken(System::Net::NetworkCredential ^ networkCredential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);
public SspiSecurityToken (System.Net.NetworkCredential networkCredential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);
new System.ServiceModel.Security.Tokens.SspiSecurityToken : System.Net.NetworkCredential * bool * bool -> System.ServiceModel.Security.Tokens.SspiSecurityToken
Public Sub New (networkCredential As NetworkCredential, extractGroupsForWindowsAccounts As Boolean, allowUnauthenticatedCallers As Boolean)

Parameters

networkCredential
NetworkCredential

The NetworkCredential.

extractGroupsForWindowsAccounts
Boolean

true if the groups to which the Windows accounts belong are extracted; otherwise, false.

allowUnauthenticatedCallers
Boolean

true if unauthenticated (anonymous) callers are allowed; otherwise, false.

Applies to

SspiSecurityToken(TokenImpersonationLevel, Boolean, NetworkCredential)

Source:
SspiSecurityToken.cs
Source:
SspiSecurityToken.cs
Source:
SspiSecurityToken.cs

Initializes a new instance of the SspiSecurityToken class.

public:
 SspiSecurityToken(System::Security::Principal::TokenImpersonationLevel impersonationLevel, bool allowNtlm, System::Net::NetworkCredential ^ networkCredential);
public SspiSecurityToken (System.Security.Principal.TokenImpersonationLevel impersonationLevel, bool allowNtlm, System.Net.NetworkCredential networkCredential);
new System.ServiceModel.Security.Tokens.SspiSecurityToken : System.Security.Principal.TokenImpersonationLevel * bool * System.Net.NetworkCredential -> System.ServiceModel.Security.Tokens.SspiSecurityToken
Public Sub New (impersonationLevel As TokenImpersonationLevel, allowNtlm As Boolean, networkCredential As NetworkCredential)

Parameters

allowNtlm
Boolean

true if NTLM authentication is allowed; otherwise, false.

networkCredential
NetworkCredential

The NetworkCredential.

Applies to