ClaimsIdentity Constructor (IEnumerable<Claim>, String)
.NET Framework (current version)
Initializes a new instance of the ClaimsIdentity class with the specified claims and authentication type.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- claims
-
Type:
System.Collections.Generic.IEnumerable<Claim>
The claims with which to populate the claims identity.
- authenticationType
-
Type:
System.String
The type of authentication used.
The following table shows initial property values for an instance of the ClaimsIdentity class.
Property | Value | ||
|---|---|---|---|
null. | |||
The value of the authenticationType parameter. If the authenticationType parameter is null or an empty string, the property is set to null. | |||
null. | |||
Initialized from the claims parameter. | |||
| |||
null. | |||
| |||
Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Available since 10
.NET Framework
Available since 4.5
Show:
