5 types derived from SecurityTokenValidationException
System.IdentityModel (4)
System\IdentityModel\Tokens\AudienceUriValidationFailedException.cs (1)
17
public class AudienceUriValidationFailedException :
SecurityTokenValidationException
System\IdentityModel\Tokens\SecurityTokenExpiredException.cs (1)
14
public class SecurityTokenExpiredException :
SecurityTokenValidationException
System\IdentityModel\Tokens\SecurityTokenNotYetValidException.cs (1)
15
public class SecurityTokenNotYetValidException :
SecurityTokenValidationException
System\IdentityModel\Tokens\SecurityTokenReplayDetectedException.cs (1)
14
public class SecurityTokenReplayDetectedException :
SecurityTokenValidationException
System.ServiceModel (1)
System\ServiceModel\Security\Tokens\SecurityContextTokenValidationException.cs (1)
12
class SecurityContextTokenValidationException :
SecurityTokenValidationException
3 instantiations of SecurityTokenValidationException
System.IdentityModel (2)
System\IdentityModel\Selectors\SecurityTokenAuthenticator.cs (1)
60
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(errorMsg));
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
272
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(exception.Message + " " + ex.Message));
System.ServiceModel (1)
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (1)
331
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SecurityTokenValidationException
(ex.Message + " " + exception.Message));
22 references to SecurityTokenValidationException
System.IdentityModel (14)
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
270
catch (
SecurityTokenValidationException
ex)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
308
/// <exception cref="
SecurityTokenValidationException
">Thrown if Saml2SecurityToken.Assertion.IssuerToken is null.</exception>
309
/// <exception cref="
SecurityTokenValidationException
">Thrown if Saml2SecurityToken.Assertion.SigningToken is null.</exception>
1634
/// <exception cref="
SecurityTokenValidationException
">The Saml2SecurityToken.Assertion.Id.Value is null or empty.</exception>
1705
/// <exception cref="
SecurityTokenValidationException
">The Saml2SecurityToken's validity period is greater than the expiration period set to TokenReplayCache.</exception>
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (5)
770
/// <exception cref="
SecurityTokenValidationException
">SamlSecurityToken.Assertion.Id is null or empty.</exception>
852
/// <exception cref="
SecurityTokenValidationException
">The SamlSecurityToken's validity period is greater than the expiration period set to TokenReplayCache.</exception>
955
/// <exception cref="
SecurityTokenValidationException
">Thrown if SamlSecurityToken.Assertion.SigningToken is null.</exception>
956
/// <exception cref="
SecurityTokenValidationException
">Thrown if the certificate associated with the token issuer does not pass validation.</exception>
1009
catch (
SecurityTokenValidationException
e)
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
52
/// <exception cref="
SecurityTokenValidationException
">LogonUser using the given token failed.</exception>
System\IdentityModel\Tokens\X509NTAuthChainTrustValidator.cs (1)
46
/// <exception cref="
SecurityTokenValidationException
">X.509 Certificate validation failed.</exception>
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
493
/// <exception cref="
SecurityTokenValidationException
">The current <see cref="X509CertificateValidator"/> was unable to validate the certificate in the Token.</exception>
521
catch (
SecurityTokenValidationException
e)
System.ServiceModel (8)
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
265
catch (
SecurityTokenValidationException
ex)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
193
catch (
SecurityTokenValidationException
ex)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
926
catch (
SecurityTokenValidationException
tokenValidationException)
1011
catch (
SecurityTokenValidationException
tokenValidationException)
1024
catch (
SecurityTokenValidationException
tokenValidationException)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
916
if (e is
SecurityTokenValidationException
|| e is System.ComponentModel.Win32Exception)
System\ServiceModel\Security\SecurityUtils.cs (1)
1329
if (e is
SecurityTokenValidationException
)
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (1)
329
catch (
SecurityTokenValidationException
ex)