3 types derived from SecurityTokenException
System.IdentityModel (3)
System\IdentityModel\SignatureVerificationFailedException.cs (1)
14public class SignatureVerificationFailedException : SecurityTokenException
System\IdentityModel\Tokens\EncryptedTokenDecryptionFailedException.cs (1)
14public class EncryptedTokenDecryptionFailedException : SecurityTokenException
System\IdentityModel\Tokens\SecurityTokenValidationException.cs (1)
10public class SecurityTokenValidationException : SecurityTokenException
2 instantiations of SecurityTokenException
System.IdentityModel (2)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
2256throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(exceptionMessage));
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
654throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(errorMessage));
25 references to SecurityTokenException
System.IdentityModel (18)
System\IdentityModel\Claims\ClaimsHelper.cs (1)
51/// <exception cref="SecurityTokenException">
System\IdentityModel\DeflateCookieTransform.cs (1)
43/// <exception cref="SecurityTokenException">The decompressed length is larger than MaxDecompressedSize.</exception>
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (3)
113/// <exception cref="SecurityTokenException">A <see cref="SecurityKeyIdentifier"/> is not found inside the xml pointed to by the reader.</exception> 115/// <exception cref="SecurityTokenException">The <see cref="SecurityKeyIdentifier"/> is not a <see cref="SymmetricSecurityKey"/>.</exception> 283/// <exception cref="SecurityTokenException">The property 'EncryptinCredentials.SecurityKey is not a <see cref="SymmetricSecurityKey"/></exception>
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
73catch (SecurityTokenException ste)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
2240/// <exception cref="SecurityTokenException">Unable to resolve token.</exception>
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (4)
2043/// <exception cref="SecurityTokenException">The given condition is unknown. By default only SamlAudienceRestrictionCondition 2256/// <exception cref="SecurityTokenException">The SamlStatement is not recognized. Only SamlAuthenticationStatement, 3107/// <exception cref="SecurityTokenException">The given 'token' is not a SamlSecurityToken.</exception> 3390/// <exception cref="SecurityTokenException">Unable to resolve token.</exception>
System\IdentityModel\Tokens\SessionSecurityToken.cs (3)
897/// <exception cref="SecurityTokenException">The dictionaryReader is not positioned a SessionDictionary.Identity.</exception> 1138/// <exception cref="SecurityTokenException">Is thrown if the 'name' of a property is null or an empty string.</exception> 1139/// <exception cref="SecurityTokenException">Is thrown if the 'value' of a property is null.</exception>
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (3)
326/// <exception cref="SecurityTokenException">The 'reader' is not positioned at a SessionSecurityToken 340/// <exception cref="SecurityTokenException">The 'reader' is not positioned at a SessionSecurityToken 632/// <exception cref="SecurityTokenException">token.EndpointId != endpointId.</exception>
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
495/// <exception cref="SecurityTokenException">Configuration.IssuerNameRegistry return null when resolving the issuer of the certificate in the Token.</exception>
System.ServiceModel (7)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
668catch (SecurityTokenException e)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
690|| e is SecurityTokenException);
System\ServiceModel\Security\SecurityProtocol.cs (3)
764catch (SecurityTokenException exception) 823|| (exception.GetType() == typeof(SecurityTokenException) || exception.GetType().IsSubclassOf(typeof(SecurityTokenException))))
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
68|| (e is SecurityTokenException)
System\ServiceModel\Security\SecurityUtils.cs (1)
1339else if (e is SecurityTokenException)