SspiSecurityToken Konstruktorer

Definition

Initierar en ny instans av SspiSecurityToken klassen.

Överlagringar

SspiSecurityToken(NetworkCredential, Boolean, Boolean)

Initierar en ny instans av SspiSecurityToken klassen.

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)

Parametrar

extractGroupsForWindowsAccounts
Boolean

true om de grupper som Windows konton tillhör extraheras, annars false.

allowUnauthenticatedCallers
Boolean

trueom oautentiserade (anonyma) uppringare tillåts; annars . false

Gäller för

SspiSecurityToken(TokenImpersonationLevel, Boolean, NetworkCredential)

Initierar en ny instans av SspiSecurityToken klassen.

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)

Parametrar

allowNtlm
Boolean

trueom NTLM-autentisering tillåts; annars . false

Gäller för