decrypt chooses decrypt method (legacy or spec-compliant) using exceptions.
In this commit special treatment for failures due to expiration is added. If token decryption failed due to expiration we do not want to try the other decryption method. In addition we no longer miss expiration exceptions in such cases.
decrypt
chooses decrypt method (legacy or spec-compliant) using exceptions. In this commit special treatment for failures due to expiration is added. If token decryption failed due to expiration we do not want to try the other decryption method. In addition we no longer miss expiration exceptions in such cases.