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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기