support for audience, issuer and expiration check along with tests