Compartilhar via


SspiSecurityToken Construtores

Definição

Inicializa uma nova instância da classe SspiSecurityToken.

Sobrecargas

SspiSecurityToken(NetworkCredential, Boolean, Boolean)

Inicializa uma nova instância da classe SspiSecurityToken.

SspiSecurityToken(TokenImpersonationLevel, Boolean, NetworkCredential)

Inicializa uma nova instância da classe SspiSecurityToken.

SspiSecurityToken(NetworkCredential, Boolean, Boolean)

Inicializa uma nova instância da classe SspiSecurityToken.

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)

Parâmetros

networkCredential
NetworkCredential

O NetworkCredential.

extractGroupsForWindowsAccounts
Boolean

true se os grupos aos quais as contas do Windows pertencem forem extraídos; caso contrário, false.

allowUnauthenticatedCallers
Boolean

true se os chamadores não autenticados (anônimos) forem permitidos; caso contrário, false.

Aplica-se a

SspiSecurityToken(TokenImpersonationLevel, Boolean, NetworkCredential)

Inicializa uma nova instância da classe SspiSecurityToken.

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)

Parâmetros

allowNtlm
Boolean

true se a autenticação NTLM for permitida; caso contrário, false.

networkCredential
NetworkCredential

O NetworkCredential.

Aplica-se a