3 instantiations of SamlSecurityToken
System.IdentityModel (3)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
152
SecurityToken token = new
SamlSecurityToken
(assertion);
1554
return new
SamlSecurityToken
(assertion);
System\IdentityModel\Tokens\SamlSerializer.cs (1)
64
return new
SamlSecurityToken
(assertion);
28 references to SamlSecurityToken
System.IdentityModel (24)
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (4)
62
return token is
SamlSecurityToken
;
70
SamlSecurityToken
samlToken = token as
SamlSecurityToken
;
243
bool IsCurrentlyTimeEffective(
SamlSecurityToken
token)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (16)
780
SamlSecurityToken
samlToken = token as
SamlSecurityToken
;
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)));
854
protected virtual DateTime GetTokenReplayCacheEntryExpirationTime(
SamlSecurityToken
token)
947
/// Validates a <see cref="
SamlSecurityToken
"/>.
949
/// <param name="token">The <see cref="
SamlSecurityToken
"/> to validate.</param>
952
/// <exception cref="ArgumentException">The token is not assignable from <see cref="
SamlSecurityToken
"/>.</exception>
964
SamlSecurityToken
samlToken = token as
SamlSecurityToken
;
1101
protected virtual ClaimsIdentity CreateClaims(
SamlSecurityToken
samlSecurityToken)
1530
/// <returns>An instance of <see cref="
SamlSecurityToken
"/>.</returns>
3120
SamlSecurityToken
samlSecurityToken = token as
SamlSecurityToken
;
3123
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.ID4217, token.GetType(), typeof(
SamlSecurityToken
))));
3620
get { return typeof(
SamlSecurityToken
); }
System\IdentityModel\Tokens\SamlSerializer.cs (2)
49
public virtual
SamlSecurityToken
ReadToken(XmlReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
67
public virtual void WriteToken(
SamlSecurityToken
token, XmlWriter writer, SecurityTokenSerializer keyInfoSerializer)
System\IdentityModel\Tokens\WSSecurityJan2004.cs (2)
141
protected override Type[] GetTokenTypesCore() { return new Type[] { typeof(
SamlSecurityToken
) }; }
582
return typeof(
SamlSecurityToken
);
System.ServiceModel (4)
System\ServiceModel\Security\WSSecurityJan2004.cs (4)
304
protected override Type[] GetTokenTypesCore() { return new Type[] { typeof(
SamlSecurityToken
) }; }
327
SamlSecurityToken
samlToken = this.samlSerializer.ReadToken(reader, this.tokenSerializer, tokenResolver);
333
SamlSecurityToken
samlToken = token as
SamlSecurityToken
;