Class: Idsimple::Rack::AccessTokenHelper
- Inherits:
-
Object
- Object
- Idsimple::Rack::AccessTokenHelper
- Defined in:
- lib/idsimple/rack/access_token_helper.rb
Class Method Summary collapse
Class Method Details
.decode(access_token, signing_secret, options = {}) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/idsimple/rack/access_token_helper.rb', line 6 def self.decode(access_token, signing_secret, = {}) JWT.decode(access_token, signing_secret, true, { algorithm: "HS256", verify_iss: true, verify_aud: true, verify_iat: true }.merge()) end |