WindowsSecurityTokenAuthenticator Class
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.
Uses Windows authentication to authenticate the WindowsSecurityToken security token.
public ref class WindowsSecurityTokenAuthenticator : System::IdentityModel::Selectors::SecurityTokenAuthenticator
public class WindowsSecurityTokenAuthenticator : System.IdentityModel.Selectors.SecurityTokenAuthenticator
type WindowsSecurityTokenAuthenticator = class
inherit SecurityTokenAuthenticator
Public Class WindowsSecurityTokenAuthenticator
Inherits SecurityTokenAuthenticator
- Inheritance
- Derived
Remarks
Use the WindowsSecurityTokenAuthenticator class to authenticate security tokens that derive from WindowsSecurityToken.
Constructors
WindowsSecurityTokenAuthenticator() |
Initializes a new instance of the WindowsSecurityTokenAuthenticator class. |
WindowsSecurityTokenAuthenticator(Boolean) |
Initializes a new instance of the WindowsSecurityTokenAuthenticator class by specifying whether the groups that the Windows user belongs to are added to the ClaimSets property when the user is authenticated. |
Methods
CanValidateToken(SecurityToken) |
Gets a value indicating whether the specified security token can be validated by this security token authenticator. (Inherited from SecurityTokenAuthenticator) |
CanValidateTokenCore(SecurityToken) |
Gets a value indicating whether the specified security token can be validated by this security token authenticator. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
ValidateToken(SecurityToken) |
Authenticates the specified security token and returns the set of authorization policies for the security token. (Inherited from SecurityTokenAuthenticator) |
ValidateTokenCore(SecurityToken) |
Authenticates the specified security token and returns the set of authorization policies for the security token. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om