Redigera

Dela via


System.Security.Claims Namespace

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.