diff options
Diffstat (limited to 'src/DotNetOpenAuth.InfoCard/InfoCard/Token/TokenUtility.cs')
-rw-r--r-- | src/DotNetOpenAuth.InfoCard/InfoCard/Token/TokenUtility.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.InfoCard/InfoCard/Token/TokenUtility.cs b/src/DotNetOpenAuth.InfoCard/InfoCard/Token/TokenUtility.cs index e628097..69fa441 100644 --- a/src/DotNetOpenAuth.InfoCard/InfoCard/Token/TokenUtility.cs +++ b/src/DotNetOpenAuth.InfoCard/InfoCard/Token/TokenUtility.cs @@ -60,8 +60,8 @@ namespace DotNetOpenAuth.InfoCard { throw new InformationCardException("Unable to read security token"); } - ////if (null != token.SecurityKeys && token.SecurityKeys.Count > 0) - //// throw new InformationCardException("Token Security Keys Exist"); + if (null != token.SecurityKeys && token.SecurityKeys.Count > 0) + throw new InformationCardException("Token Security Keys Exist"); if (audience == null) { Logger.InfoCard.Warn("SAML token Audience checking will be skipped."); |