SspiSecurityTokenProvider Constructors
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.
SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean) |
Initializes a new instance of the SspiSecurityTokenProvider class. |
SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel) |
Initializes a new instance of the SspiSecurityTokenProvider class. |
- 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
.NET Framework 4.8.1 et autres versions
Produit | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
- 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 Framework 4.8.1 et autres versions
Produit | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :