81 _type =
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name";
85 _type =
"http://schemas.microsoft.com/ws/2008/06/identity/claims/role";
99 _valueType =
"http://www.w3.org/2001/XMLSchema#string";
127 for (
int i = 0; i <
num3; i++)
138 for (
int j = num;
j <
num2;
j++)
145 :
this(
type,
value,
"http://www.w3.org/2001/XMLSchema#string",
"LOCAL AUTHORITY",
"LOCAL AUTHORITY",
null)
209 if (
other._properties !=
null)
213 if (
other._userSerializationData !=
null)
226 return new Claim(
this, identity);
242 if (
string.Equals(
_type,
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"))
246 else if (
string.Equals(
_type,
"http://schemas.microsoft.com/ws/2008/06/identity/claims/role"))
virtual string ReadString()
virtual byte[] ReadBytes(int count)
Claim(string type, string value)
virtual Claim Clone(ClaimsIdentity? identity)
Dictionary< string, string > _properties
Claim(string type, string value, string? valueType, string? issuer, string? originalIssuer, ClaimsIdentity? subject)
readonly ClaimsIdentity _subject
@ OriginalIssuerEqualsIssuer
virtual ? byte[] CustomSerializationData
readonly string _valueType
Claim(string type, string value, string? valueType, string? issuer)
Claim(BinaryReader reader)
readonly string _originalIssuer
Claim(string type, string value, string valueType, string issuer, string originalIssuer, ClaimsIdentity subject, string propertyKey, string propertyValue)
Claim(string type, string value, string? valueType)
Claim(Claim other, ClaimsIdentity? subject)
virtual void WriteTo(BinaryWriter writer)
IDictionary< string, string > Properties
Claim(BinaryReader reader, ClaimsIdentity? subject)
readonly byte[] _userSerializationData
Claim(string type, string value, string? valueType, string? issuer, string? originalIssuer)
override string ToString()
virtual void WriteTo(BinaryWriter writer, byte[]? userData)
void Add(object key, object? value)