Initializes an instance of ClaimsIdentity using an enumerated
collection of objects and the specified authentication type, name
claim type, and role claim type.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Visual Basic |
Dim claims As IEnumerable(Of Claim)
Dim bootstrapToken As SecurityToken
Dim instance As New ClaimsIdentity(claims, bootstrapToken)
|
Синтаксис
Visual Basic |
Public Sub New ( _
claims As IEnumerable(Of Claim), _
bootstrapToken As SecurityToken _
)
|
C# |
public ClaimsIdentity (
IEnumerable<Claim> claims,
SecurityToken bootstrapToken
)
|
C++ |
public:
ClaimsIdentity (
IEnumerable<Claim^>^ claims,
SecurityToken^ bootstrapToken
)
|
J# |
public ClaimsIdentity (
IEnumerable<Claim> claims,
SecurityToken bootstrapToken
)
|
JScript |
public function ClaimsIdentity (
claims : IEnumerable<Claim>,
bootstrapToken : SecurityToken
)
|
Параметры
- claims
-
The collection of Claim objects to populate this ClaimsIdentity
with.
- bootstrapToken
-
The token originally used to create this identity.
Исключения
Примечания
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также