21 references to Namespace
System.IdentityModel (21)
System\IdentityModel\Metadata\MetadataSerializer.cs (9)
474
if (reader.IsStartElement(WSAuthorizationConstants.Elements.DisplayName, WSAuthorizationConstants.
Namespace
))
476
claim.DisplayTag = reader.ReadElementContentAsString(WSAuthorizationConstants.Elements.DisplayName, WSAuthorizationConstants.
Namespace
);
478
else if (reader.IsStartElement(WSAuthorizationConstants.Elements.Description, WSAuthorizationConstants.
Namespace
))
480
claim.Description = reader.ReadElementContentAsString(WSAuthorizationConstants.Elements.Description, WSAuthorizationConstants.
Namespace
);
1788
if (reader.IsStartElement(WSAuthorizationConstants.Elements.ClaimType, WSAuthorizationConstants.
Namespace
))
1812
if (reader.IsStartElement(WSAuthorizationConstants.Elements.ClaimType, WSAuthorizationConstants.
Namespace
))
2092
writer.WriteStartElement(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.ClaimType, WSAuthorizationConstants.
Namespace
);
2114
writer.WriteElementString(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.DisplayName, WSAuthorizationConstants.
Namespace
, claim.DisplayTag);
2119
writer.WriteElementString(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.Description, WSAuthorizationConstants.
Namespace
, claim.Description);
System\IdentityModel\Protocols\WSFederation\WSAuthorizationConstants.cs (2)
17
public const string Dialect =
Namespace
+ "/authclaims";
18
public const string Action =
Namespace
+ "/claims/action";
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (10)
591
if (reader.IsStartElement(WSAuthorizationConstants.Elements.AdditionalContext, WSAuthorizationConstants.
Namespace
))
601
while (reader.IsStartElement(WSAuthorizationConstants.Elements.ContextItem, WSAuthorizationConstants.
Namespace
))
627
if (reader.IsStartElement(WSAuthorizationConstants.Elements.Value, WSAuthorizationConstants.
Namespace
))
629
value = reader.ReadElementContentAsString(WSAuthorizationConstants.Elements.Value, WSAuthorizationConstants.
Namespace
);
640
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3223, WSAuthorizationConstants.Elements.AdditionalContext, WSAuthorizationConstants.
Namespace
, reader.LocalName, reader.NamespaceURI)));
1325
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, WSAuthorizationConstants.Elements.AdditionalContext, WSAuthorizationConstants.
Namespace
, typeof(AdditionalContext), elementValue));
1328
writer.WriteStartElement(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.AdditionalContext, WSAuthorizationConstants.
Namespace
);
1331
writer.WriteStartElement(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.ContextItem, WSAuthorizationConstants.
Namespace
);
1340
writer.WriteElementString(WSAuthorizationConstants.Elements.Value, WSAuthorizationConstants.
Namespace
, item.Value);
2891
return WSAuthorizationConstants.
Namespace
;