Share via


Interface IClaimsIdentity

Defines the data and behavior of a claims-based representation of a single user.

Espace de noms: Microsoft.IdentityModel.Claims
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As IClaimsIdentity

Syntaxe

'Déclaration
Public Interface IClaimsIdentity
    Inherits IIdentity
public interface IClaimsIdentity : IIdentity
public interface class IClaimsIdentity : IIdentity
public interface IClaimsIdentity extends IIdentity
public interface IClaimsIdentity extends IIdentity

Remarques

This interface defines the basic functionality of a ClaimsIdentity object. It is recommended that this interface be used to access the methods and properties of ClaimsIdentity instead of using ClaimsIdentity directly.

All ClaimsIdentity objects implement the IClaimsIdentity interface.

IClaimsIdentity extends IIdentity and when you look at a user’s identity, you can get her name the same way you always have. In addition, you can look at IClaimsIdentity.Claims to get more information pertaining of the user’s identity, like her email address.

If you’re familiar with X.509 certificates, imagine what a user authenticated using a certificate might look like when represented by this claims-based object model. The IClaimsIdentity you’d get for the user would contain claims from her certificate that include her name and public key. If you drilled into the Issuer of any of those claims, you’d arrive at a second IClaimsIdentity with the name and public key of the certificate authority that issued her certificate. Continuing up the chain, you would eventually come to the root certificate, which is self issued. Once you arrive at this IClaimsIdentity, all of the claims inside it would have Issuer equal to the Subject.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Membres IClaimsIdentity
Espace de noms Microsoft.IdentityModel.Claims