프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AddClaim | void | ||
AddClaims | void | ||
ClaimsIdentity | System.Collections.Generic | ||
Deserialize | void | ||
Initialize | void | ||
IsCircular | bool | ||
OnDeserializedMethod | void | ||
OnSerializingMethod | void | ||
RemoveClaim | void | ||
SafeAddClaim | void | ||
SafeAddClaims | void | ||
TryRemoveClaim | bool |
메소드 | 설명 | |
---|---|---|
AddClaim ( |
Adds a single Claim to an internal list. If Claim.Subject != this, then Claim.Clone(this) is called before the claim is added. |
|
AddClaims ( IEnumerable |
Adds a IEnumerable{Claim} to the internal list. Each claim is examined and if Claim.Subject != this, then then Claim.Clone(this) is called before the claim is added. |
|
ClaimsIdentity ( ) | ||
ClaimsIdentity ( System reader ) | ||
ClaimsIdentity ( System identity, System |
||
ClaimsIdentity ( System identity, System |
||
ClaimsIdentity ( System |
||
ClaimsIdentity ( System |
||
ClaimsIdentity ( System |
||
ClaimsIdentity ( string authenticationType ) | ||
ClaimsIdentity ( string authenticationType, string nameType, string roleType ) | ||
ClaimsIdentity ( ) : System.Collections.Generic |
Initializes an instance of ClaimsIdentity.
|
|
ClaimsIdentity ( BinaryReader reader ) : System.Collections.Generic |
Initializes an instance of ClaimsIdentity using a BinaryReader. Normally the BinaryReader is constructed using the bytes from WriteTo(BinaryWriter) and initialized in the same way as the BinaryWriter.
|
|
ClaimsIdentity ( IEnumerable |
Initializes an instance of ClaimsIdentity. |
|
ClaimsIdentity ( IEnumerable |
Initializes an instance of ClaimsIdentity. ClaimsIdentity(IIdentity, IEnumerable{Claim}, string, string, string) for details on how internal values are set. |
|
ClaimsIdentity ( IEnumerable |
Initializes an instance of ClaimsIdentity. ClaimsIdentity(IIdentity, IEnumerable{Claim}, string, string, string) for details on how internal values are set. |
|
ClaimsIdentity ( IIdentity identity ) : System.Collections.Generic |
Initializes an instance of ClaimsIdentity. ClaimsIdentity(IIdentity, IEnumerable{Claim}, string, string, string) for details on how internal values are set. |
|
ClaimsIdentity ( IIdentity identity, IEnumerable |
Initializes an instance of ClaimsIdentity. ClaimsIdentity(IIdentity, IEnumerable{Claim}, string, string, string) for details on how internal values are set. |
|
ClaimsIdentity ( IIdentity identity, IEnumerable |
Initializes an instance of ClaimsIdentity. If 'identity' is a ClaimsIdentity, then there are potentially multiple sources for AuthenticationType, NameClaimType, RoleClaimType. Priority is given to the parameters: authenticationType, nameClaimType, roleClaimType. All Claims are copied into this instance in a List{Claim}. Each Claim is examined and if Claim.Subject != this, then Claim.Clone(this) is called before the claim is added. Any 'External' claims are ignored. |
|
ClaimsIdentity ( string authenticationType ) : System.Collections.Generic |
Initializes an instance of ClaimsIdentity.
|
|
ClaimsIdentity ( string authenticationType, string nameType, string roleType ) : System.Collections.Generic |
Initializes an instance of ClaimsIdentity. ClaimsIdentity(IIdentity, IEnumerable{Claim}, string, string, string) for details on how internal values are set. |
|
Clone ( ) : |
Creates a new instance of ClaimsIdentity with values copied from this object.
|
|
Clone ( ) : System.Security.Claims.ClaimsIdentity | ||
FindAll ( Predicate |
Retrieves a IEnumerable{Claim} where each claim is matched by .
|
|
FindAll ( string type ) : IEnumerable |
Retrieves a IEnumerable{Claim} where each Claim.Type equals type. Comparison is: StringComparison.OrdinalIgnoreCase.< |
|
FindAll ( System |
||
FindAll ( string type ) : System.Collections.Generic.IEnumerable |
||
FindFirst ( Predicate |
Retrieves the first Claim that is matched by .
|
|
FindFirst ( string type ) : |
Retrieves the first Claim where Claim.Type equals type. Comparison is: StringComparison.OrdinalIgnoreCase. |
|
FindFirst ( System |
||
FindFirst ( string type ) : System.Security.Claims.Claim | ||
HasClaim ( Predicate |
Determines if a claim is contained within this ClaimsIdentity.
|
|
HasClaim ( System |
||
HasClaim ( string type, string value ) : bool |
Determines if a claim with type AND value is contained within this ClaimsIdentity. Comparison is: StringComparison.OrdinalIgnoreCase for Claim.Type, StringComparison.Ordinal for Claim.Value. |
|
RemoveClaim ( |
It is possible that a Claim returned from Claims cannot be removed. This would be the case for 'External' claims that are provided by reference. object.ReferenceEquals is used to 'match'. |
|
TryRemoveClaim ( |
It is possible that a Claim returned from Claims cannot be removed. This would be the case for 'External' claims that are provided by reference. object.ReferenceEquals is used to 'match'. |
|
WriteTo ( BinaryWriter writer ) : void |
Serializes using a BinaryWriter
|
|
WriteTo ( System writer ) : void |
메소드 | 설명 | |
---|---|---|
ClaimsIdentity ( System info, System context ) | ||
ClaimsIdentity ( |
Copy constructor.
|
|
ClaimsIdentity ( SerializationInfo info, StreamingContext context ) : System.Collections.Generic | ||
CreateClaim ( BinaryReader reader ) : |
Provides and extensibility point for derived types to create a custom Claim.
|
|
CreateClaim ( System reader ) : System.Security.Claims.Claim | ||
GetObjectData ( SerializationInfo info, StreamingContext context ) : void |
Populates the specified SerializationInfo with the serialization data for the ClaimsIdentity
|
|
GetObjectData ( System info, System context ) : void | ||
WriteTo ( BinaryWriter writer, byte userData ) : void |
Serializes using a BinaryWriter
|
|
WriteTo ( System writer, byte userData ) : void |
메소드 | 설명 | |
---|---|---|
AddClaim ( System claim ) : void | ||
AddClaims ( System |
||
ClaimsIdentity ( SerializationInfo info ) : System.Collections.Generic | ||
Deserialize ( SerializationInfo info, StreamingContext context, bool useContext ) : void | ||
Initialize ( BinaryReader reader ) : void |
Initializes from a BinaryReader. Normally the reader is initialized with the results from WriteTo(BinaryWriter) Normally the BinaryReader is initialized in the same way as the BinaryWriter passed to WriteTo(BinaryWriter).
|
|
IsCircular ( |
Checks if a circular reference exists to 'this'
|
|
OnDeserializedMethod ( StreamingContext context ) : void | ||
OnSerializingMethod ( StreamingContext context ) : void | ||
RemoveClaim ( System claim ) : void | ||
SafeAddClaim ( |
Adds claim to intenal list. Calling Claim.Clone if Claim.Subject != this. private only call from constructor, adds to internal list. |
|
SafeAddClaims ( IEnumerable |
Adds claims to intenal list. Calling Claim.Clone if Claim.Subject != this. private only call from constructor, adds to internal list. |
|
TryRemoveClaim ( System claim ) : bool |
public AddClaims ( IEnumerable |
||
claims | IEnumerable |
Enumeration of claims to add. |
리턴 | void |
protected ClaimsIdentity ( System info, System context ) | ||
info | System | |
context | System |
public ClaimsIdentity ( System identity, System |
||
identity | System | |
claims | System |
public ClaimsIdentity ( System identity, System |
||
identity | System | |
claims | System |
|
authenticationType | string | |
nameType | string | |
roleType | string |
public ClaimsIdentity ( System |
||
claims | System |
|
authenticationType | string |
public ClaimsIdentity ( System |
||
claims | System |
|
authenticationType | string | |
nameType | string | |
roleType | string |
public ClaimsIdentity ( string authenticationType ) | ||
authenticationType | string |
public ClaimsIdentity ( string authenticationType, string nameType, string roleType ) | ||
authenticationType | string | |
nameType | string | |
roleType | string |
public ClaimsIdentity ( ) : System.Collections.Generic | ||
리턴 | System.Collections.Generic |
public ClaimsIdentity ( BinaryReader reader ) : System.Collections.Generic | ||
reader | BinaryReader | a |
리턴 | System.Collections.Generic |
protected ClaimsIdentity ( |
||
other | ||
리턴 | System.Collections.Generic |
public ClaimsIdentity ( IEnumerable |
||
claims | IEnumerable |
|
리턴 | System.Collections.Generic |
public ClaimsIdentity ( IEnumerable |
||
claims | IEnumerable |
|
authenticationType | string | The authentication method used to establish this identity. |
리턴 | System.Collections.Generic |
public ClaimsIdentity ( IEnumerable |
||
claims | IEnumerable |
|
authenticationType | string | The type of authentication used. |
nameType | string | The |
roleType | string | The |
리턴 | System.Collections.Generic |
public ClaimsIdentity ( IIdentity identity ) : System.Collections.Generic | ||
identity | IIdentity | |
리턴 | System.Collections.Generic |
public ClaimsIdentity ( IIdentity identity, IEnumerable |
||
identity | IIdentity | |
claims | IEnumerable |
|
리턴 | System.Collections.Generic |
public ClaimsIdentity ( IIdentity identity, IEnumerable |
||
identity | IIdentity | |
claims | IEnumerable |
|
authenticationType | string | The type of authentication used. |
nameType | string | The |
roleType | string | The |
리턴 | System.Collections.Generic |
protected ClaimsIdentity ( SerializationInfo info, StreamingContext context ) : System.Collections.Generic | ||
info | SerializationInfo | |
context | StreamingContext | |
리턴 | System.Collections.Generic |
public ClaimsIdentity ( string authenticationType ) : System.Collections.Generic | ||
authenticationType | string | The authentication method used to establish this identity. |
리턴 | System.Collections.Generic |
public ClaimsIdentity ( string authenticationType, string nameType, string roleType ) : System.Collections.Generic | ||
authenticationType | string | The type of authentication used. |
nameType | string | The |
roleType | string | The |
리턴 | System.Collections.Generic |
public Clone ( ) : System.Security.Claims.ClaimsIdentity | ||
리턴 | System.Security.Claims.ClaimsIdentity |
protected CreateClaim ( BinaryReader reader ) : |
||
reader | BinaryReader | the |
리턴 |
protected CreateClaim ( System reader ) : System.Security.Claims.Claim | ||
reader | System | |
리턴 | System.Security.Claims.Claim |
public FindAll ( Predicate |
||
match | Predicate |
The function that performs the matching logic. |
리턴 | IEnumerable |
public FindAll ( string type ) : IEnumerable |
||
type | string | The type of the claim to match. |
리턴 | IEnumerable |
public FindAll ( System |
||
match | System |
|
리턴 | System.Collections.Generic.IEnumerable |
public FindAll ( string type ) : System.Collections.Generic.IEnumerable |
||
type | string | |
리턴 | System.Collections.Generic.IEnumerable |
public FindFirst ( Predicate |
||
match | Predicate |
The function that performs the matching logic. |
리턴 |
public FindFirst ( string type ) : |
||
type | string | The type of the claim to match. |
리턴 |
public FindFirst ( System |
||
match | System |
|
리턴 | System.Security.Claims.Claim |
public FindFirst ( string type ) : System.Security.Claims.Claim | ||
type | string | |
리턴 | System.Security.Claims.Claim |
protected GetObjectData ( SerializationInfo info, StreamingContext context ) : void | ||
info | SerializationInfo | The serialization information stream to write to. Satisfies ISerializable contract. |
context | StreamingContext | Context for serialization. Can be null. |
리턴 | void |
protected GetObjectData ( System info, System context ) : void | ||
info | System | |
context | System | |
리턴 | void |
public HasClaim ( Predicate |
||
match | Predicate |
The function that performs the matching logic. |
리턴 | bool |
public HasClaim ( string type, string value ) : bool | ||
type | string | the type of the claim to match. |
value | string | the value of the claim to match. |
리턴 | bool |
public TryRemoveClaim ( |
||
claim | the |
|
리턴 | bool |
public WriteTo ( BinaryWriter writer ) : void | ||
writer | BinaryWriter | the |
리턴 | void |
protected WriteTo ( BinaryWriter writer, byte userData ) : void | ||
writer | BinaryWriter | the |
userData | byte | additional data provided by derived type. |
리턴 | void |
protected WriteTo ( System writer, byte userData ) : void | ||
writer | System | |
userData | byte | |
리턴 | void |