Creates a Claim with the specified type and value. The Claim has a local authority issuer and no subject.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim claimType As String Dim value As String Dim valueType As String Dim instance As New Claim(claimType, value, valueType) |
Синтаксис
Visual Basic |
---|
Public Sub New ( _ claimType As String, _ value As String, _ valueType As String _ ) |
C# |
---|
public Claim ( string claimType, string value, string valueType ) |
C++ |
---|
public: Claim ( String^ claimType, String^ value, String^ valueType ) |
J# |
---|
public Claim ( String claimType, String value, String valueType ) |
JScript |
---|
public function Claim ( claimType : String, value : String, valueType : String ) |
Параметры
- claimType
- value
-
The Claim Value.
- valueType
-
The ClaimValueType of the Claim resource.
Примечания
P:Microsoft.IdentityModel.Claims.Claim.Issuer is set to F:Microsoft.IdentityModel.Claims.ClaimsIdentity.DefaultIssuer. P:Microsoft.IdentityModel.Claims.Claim.OriginalIssuer is set to F:Microsoft.IdentityModel.Claims.ClaimsIdentity.DefaultIssuer. P:Microsoft.IdentityModel.Claims.Claim.Subject is set to null.