System.Security.Claims Namespace
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.
Contains classes that implement claims-based identity in .NET, including classes that represent claims, claims-based identities, and claims-based principals.
Classes
AuthenticationInformation |
Contains the authentication information that an authority asserted when creating a token for a subject. |
AuthenticationTypes |
Defines authentication types for the AuthenticationType property. |
AuthorizationContext |
Provides context information of an authorization event. This includes the principal that represents the caller, the resource that is being requested, and the action that is being performed. |
Claim |
Represents a claim. |
ClaimProperties |
Defines the keys for properties contained in the Properties property. |
ClaimsAuthenticationManager |
Defines the base implementation for a claims authentication manager. The claims authentication manager provides a place in the claims processing pipeline for applying processing logic (filtering, validation, extension) to the claims collection in the incoming principal before execution reaches your application code. |
ClaimsAuthorizationManager |
Defines the base implementation for a claims authorization manager. |
ClaimsIdentity |
Represents a claims-based identity. |
ClaimsPrincipal |
An IPrincipal implementation that supports multiple claims-based identities. |
ClaimTypes |
Defines constants for the well-known claim types that can be assigned to a subject. This class cannot be inherited. |
ClaimValueTypes |
Defines claim value types according to the type URIs defined by W3C and OASIS. This class cannot be inherited. |
DynamicRoleClaimProvider |
The single method, AddDynamicRoleClaims(ClaimsIdentity, IEnumerable<Claim>), exposed by this class is obsolete. You can use a ClaimsAuthenticationManager object to add claims to a ClaimsIdentity object. |
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za