次の方法で共有


IClaimsIdentity インターフェイス

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

名前空間: Microsoft.IdentityModel.Claims
アセンブリ: Microsoft.IdentityModel (microsoft.identitymodel.dll 中)

使用方法

    Dim instance As IClaimsIdentity

構文

'宣言
Public Interface IClaimsIdentity
    Inherits IIdentity
public interface IClaimsIdentity : IIdentity
public interface class IClaimsIdentity : IIdentity
public interface IClaimsIdentity extends IIdentity
public interface IClaimsIdentity extends IIdentity

解説

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.

プラットフォーム

開発プラットフォーム

Windows Server 2003, Windows Vista

Target Platforms

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

関連項目

参照

IClaimsIdentity メンバー
Microsoft.IdentityModel.Claims 名前空間