Method | Description | |
---|---|---|
Claim ( System reader ) | ||
Claim ( System reader, System subject ) | ||
Claim ( string type, string value ) | ||
Claim ( string type, string value, string valueType ) | ||
Claim ( string type, string value, string valueType, string issuer ) | ||
Claim ( string type, string value, string valueType, string issuer, string originalIssuer ) | ||
Claim ( string type, string value, string valueType, string issuer, string originalIssuer, System subject ) | ||
Claim ( |
Initializes an instance of Claim using a BinaryReader. Normally the BinaryReader is constructed using the bytes from WriteTo(BinaryWriter) and initialized in the same way as the BinaryWriter.
|
|
Claim ( |
Initializes an instance of Claim using a BinaryReader. Normally the BinaryReader is constructed using the bytes from WriteTo(BinaryWriter) and initialized in the same way as the BinaryWriter.
|
|
Claim ( string type, string value ) : System.Collections.Generic |
Creates a Claim with the specified type and value. Claim.Issuer is set to ClaimsIdentity.DefaultIssuer, Claim.ValueType is set to ClaimValueTypes.String, Claim.OriginalIssuer is set to ClaimsIdentity.DefaultIssuer, and Claim.Subject is set to null. |
|
Claim ( string type, string value, string valueType ) : System.Collections.Generic |
Creates a Claim with the specified type, value, and value type. Claim.Issuer is set to ClaimsIdentity.DefaultIssuer, Claim.OriginalIssuer is set to ClaimsIdentity.DefaultIssuer, and Claim.Subject is set to null. |
|
Claim ( string type, string value, string valueType, string issuer ) : System.Collections.Generic |
Creates a Claim with the specified type, value, value type, and issuer. Claim.OriginalIssuer is set to value of the issuer parameter, Claim.Subject is set to null. |
|
Claim ( string type, string value, string valueType, string issuer, string originalIssuer ) : System.Collections.Generic |
Creates a Claim with the specified type, value, value type, issuer and original issuer. Claim.Subject is set to null. |
|
Claim ( string type, string value, string valueType, string issuer, string originalIssuer, |
Creates a Claim with the specified type, value, value type, issuer, original issuer and subject.
|
|
Clone ( ) : |
Creates a new instance Claim with values copied from this object.
|
|
Clone ( |
Creates a new instance Claim with values copied from this object. Claim.Subject will be set to 'identity'. |
|
Clone ( ) : System.Security.Claims.Claim | ||
Clone ( System identity ) : System.Security.Claims.Claim | ||
ToString ( ) : string |
Returns a string representation of the Claim object. The returned string contains the values of the Type and Value properties. |
|
WriteTo ( |
Serializes using a BinaryWriter
|
|
WriteTo ( System writer ) : void |
Method | Description | |
---|---|---|
Claim ( |
Copy constructor for Claim Claim.Subjectwill be set to 'null'. |
|
Claim ( |
Copy constructor for Claim Claim.Subjectwill be set to 'subject'. |
|
WriteTo ( |
Serializes using a BinaryWriter
|
|
WriteTo ( System writer, byte userData ) : void |
Method | Description | |
---|---|---|
Claim ( string type, string value, string valueType, string issuer, string originalIssuer, |
This internal constructor was added as a performance boost when adding claims that are found in the NTToken. We need to add a property value to distinguish DeviceClaims from UserClaims.
|
|
Initialize ( |
public Claim ( string type, string value, string valueType ) | ||
type | string | |
value | string | |
valueType | string |
public Claim ( string type, string value, string valueType, string issuer ) | ||
type | string | |
value | string | |
valueType | string | |
issuer | string |
public Claim ( string type, string value, string valueType, string issuer, string originalIssuer ) | ||
type | string | |
value | string | |
valueType | string | |
issuer | string | |
originalIssuer | string |
public Claim ( string type, string value, string valueType, string issuer, string originalIssuer, System subject ) | ||
type | string | |
value | string | |
valueType | string | |
issuer | string | |
originalIssuer | string | |
subject | System |
public Claim ( |
||
reader | a |
|
return | System.Collections.Generic |
public Claim ( |
||
reader | a |
|
subject | the value for |
|
return | System.Collections.Generic |
protected Claim ( |
||
other | the |
|
return | System.Collections.Generic |
protected Claim ( |
||
other | the |
|
subject | the |
|
return | System.Collections.Generic |
public Claim ( string type, string value ) : System.Collections.Generic | ||
type | string | The claim type. |
value | string | The claim value. |
return | System.Collections.Generic |
public Claim ( string type, string value, string valueType ) : System.Collections.Generic | ||
type | string | The claim type. |
value | string | The claim value. |
valueType | string | The claim value type. |
return | System.Collections.Generic |
public Claim ( string type, string value, string valueType, string issuer ) : System.Collections.Generic | ||
type | string | The claim type. |
value | string | The claim value. |
valueType | string | The claim value type. If this parameter is empty or null, then |
issuer | string | The claim issuer. If this parameter is empty or null, then |
return | System.Collections.Generic |
public Claim ( string type, string value, string valueType, string issuer, string originalIssuer ) : System.Collections.Generic | ||
type | string | The claim type. |
value | string | The claim value. |
valueType | string | The claim value type. If this parameter is null, then |
issuer | string | The claim issuer. If this parameter is empty or null, then |
originalIssuer | string | The original issuer of this claim. If this parameter is empty or null, then orignalIssuer == issuer. |
return | System.Collections.Generic |
public Claim ( string type, string value, string valueType, string issuer, string originalIssuer, |
||
type | string | The claim type. |
value | string | The claim value. |
valueType | string | The claim value type. If this parameter is null, then |
issuer | string | The claim issuer. If this parameter is empty or null, then |
originalIssuer | string | The original issuer of this claim. If this parameter is empty or null, then orignalIssuer == issuer. |
subject | The subject that this claim describes. | |
return | System.Collections.Generic |
public Clone ( |
||
identity | ||
return |
public Clone ( ) : System.Security.Claims.Claim | ||
return | System.Security.Claims.Claim |
public Clone ( System identity ) : System.Security.Claims.Claim | ||
identity | System | |
return | System.Security.Claims.Claim |
public WriteTo ( |
||
writer | the |
|
return | void |
protected WriteTo ( |
||
writer | the |
|
userData | byte | additional data provided by derived type. |
return | void |
protected WriteTo ( System writer, byte userData ) : void | ||
writer | System | |
userData | byte | |
return | void |