2 instantiations of Saml2SecurityToken
System.IdentityModel (2)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
286
SecurityToken token = new
Saml2SecurityToken
(assertion);
650
return new
Saml2SecurityToken
(assertion, keys, issuerToken);
20 references to Saml2SecurityToken
System.IdentityModel (19)
System\IdentityModel\Tokens\Saml2SecurityToken.cs (2)
22
/// Initializes an instance of <see cref="
Saml2SecurityToken
"/> from a <see cref="Saml2Assertion"/>.
31
/// Initializes an instance of <see cref="
Saml2SecurityToken
"/> from a <see cref="Saml2Assertion"/>.
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (17)
129
get { return typeof(
Saml2SecurityToken
); }
134
/// certificates that have signed the <see cref="
Saml2SecurityToken
"/>.
301
/// Validates a <see cref="
Saml2SecurityToken
"/>.
303
/// <param name="token">The <see cref="
Saml2SecurityToken
"/> to validate.</param>
306
/// <exception cref="ArgumentException">The token is not of assignable from <see cref="
Saml2SecurityToken
"/>.</exception>
318
Saml2SecurityToken
samlToken = token as
Saml2SecurityToken
;
432
/// <exception cref="ArgumentException">The input argument 'token' is not a <see cref="
Saml2SecurityToken
"/>.</exception>
445
Saml2SecurityToken
samlToken = token as
Saml2SecurityToken
;
622
/// <param name="reader">A <see cref="XmlReader"/> reader positioned at a <see cref="
Saml2SecurityToken
"/> element.</param>
623
/// <returns>An instance of <see cref="
Saml2SecurityToken
"/>.</returns>
1644
Saml2SecurityToken
samlToken = token as
Saml2SecurityToken
;
1692
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenReplayDetectedException(SR.GetString(SR.ID1066, typeof(
Saml2SecurityToken
).ToString(), samlToken.Assertion.Id.Value, issuer)));
1710
protected virtual DateTime GetTokenReplayCacheEntryExpirationTime(
Saml2SecurityToken
token)
2048
protected virtual ClaimsIdentity CreateClaims(
Saml2SecurityToken
samlToken)
System.ServiceModel (1)
System\ServiceModel\Security\WrappedSaml2SecurityTokenAuthenticator.cs (1)
56
return (token is
Saml2SecurityToken
) && _wrappedSaml2SecurityTokenHandler.CanValidateToken;