30 references to Assertion
System.IdentityModel (30)
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (11)
75
if (samlToken.
Assertion
.Signature == null)
81
if (samlToken.
Assertion
.SigningToken == null)
89
canBeValidated = this.supportingAuthenticators[i].CanValidateToken(samlToken.
Assertion
.SigningToken);
95
issuer = ResolveClaimSet(samlToken.
Assertion
.SigningToken) ?? ClaimSet.Anonymous;
98
for (int i = 0; i < samlToken.
Assertion
.Statements.Count; ++i)
100
policies.Add(samlToken.
Assertion
.Statements[i].CreatePolicy(issuer, this));
119
for (int i = 0; i < samlToken.
Assertion
.Conditions.Conditions.Count; i++)
122
SamlAudienceRestrictionCondition audienceCondition = samlToken.
Assertion
.Conditions.Conditions[i] as SamlAudienceRestrictionCondition;
245
if (token.
Assertion
.Conditions != null)
247
return SecurityUtils.IsCurrentlyTimeEffective(token.
Assertion
.Conditions.NotBefore, token.
Assertion
.Conditions.NotOnOrAfter, this.maxClockSkew);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (18)
805
if (string.IsNullOrEmpty(samlToken.
Assertion
.AssertionId))
816
if (string.IsNullOrEmpty(samlToken.
Assertion
.Issuer))
818
stringBuilder.AppendFormat("{0}{1}", samlToken.
Assertion
.AssertionId, _tokenTypeIdentifiers[0]);
822
stringBuilder.AppendFormat("{0}{1}{2}", samlToken.
Assertion
.AssertionId, samlToken.
Assertion
.Issuer, _tokenTypeIdentifiers[0]);
830
if (string.IsNullOrEmpty(samlToken.
Assertion
.Issuer))
833
new SecurityTokenReplayDetectedException(SR.GetString(SR.ID1062, typeof(SamlSecurityToken).ToString(), samlToken.
Assertion
.AssertionId, "")));
838
new SecurityTokenReplayDetectedException(SR.GetString(SR.ID1062, typeof(SamlSecurityToken).ToString(), samlToken.
Assertion
.AssertionId, samlToken.
Assertion
.Issuer)));
977
if (samlToken.
Assertion
== null)
985
if (samlToken.
Assertion
.SigningToken == null)
990
this.ValidateConditions(samlToken.
Assertion
.Conditions, _samlSecurityTokenRequirement.ShouldEnforceAudienceRestriction(this.Configuration.AudienceRestriction.AudienceMode, samlToken));
1002
X509SecurityToken x509IssuerToken = samlToken.
Assertion
.SigningToken as X509SecurityToken;
1108
if (samlSecurityToken.
Assertion
== null)
1136
issuer = this.Configuration.IssuerNameRegistry.GetIssuerName(samlSecurityToken.
Assertion
.SigningToken, samlSecurityToken.
Assertion
.Issuer);
1143
ProcessStatement(samlSecurityToken.
Assertion
.Statements, subject, issuer);
3126
WriteAssertion(writer, samlSecurityToken.
Assertion
);
System\IdentityModel\Tokens\SamlSerializer.cs (1)
73
token.
Assertion
.WriteTo(writer, this, keyInfoSerializer);