SspiSecurityTokenProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SspiSecurityTokenProvider class.
Overloads
SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean) |
Initializes a new instance of the SspiSecurityTokenProvider class. |
SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel) |
Initializes a new instance of the SspiSecurityTokenProvider class. |
SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean)
- Source:
- SspiSecurityTokenProvider.cs
- Source:
- SspiSecurityTokenProvider.cs
- Source:
- SspiSecurityTokenProvider.cs
Initializes a new instance of the SspiSecurityTokenProvider class.
public:
SspiSecurityTokenProvider(System::Net::NetworkCredential ^ credential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);
public SspiSecurityTokenProvider (System.Net.NetworkCredential credential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);
new System.ServiceModel.Security.SspiSecurityTokenProvider : System.Net.NetworkCredential * bool * bool -> System.ServiceModel.Security.SspiSecurityTokenProvider
Public Sub New (credential As NetworkCredential, extractGroupsForWindowsAccounts As Boolean, allowUnauthenticatedCallers As Boolean)
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
SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel)
- Source:
- SspiSecurityTokenProvider.cs
- 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);
public SspiSecurityTokenProvider (System.Net.NetworkCredential credential, bool allowNtlm, System.Security.Principal.TokenImpersonationLevel impersonationLevel);
new System.ServiceModel.Security.SspiSecurityTokenProvider : System.Net.NetworkCredential * bool * System.Security.Principal.TokenImpersonationLevel -> System.ServiceModel.Security.SspiSecurityTokenProvider
Public Sub New (credential As NetworkCredential, allowNtlm As Boolean, impersonationLevel As TokenImpersonationLevel)
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈