lib/jwt/auth/token.rb
##
# Parse raw JWT payload into params object used to initialize a token class
#
Parse raw JWT payload into params object used to initialize a token class
Parse raw JWT payload into params object used to initialize a token class
def parse(payload)
          {
            :issued_at => payload['iat'],
            :version => payload['ver'],
            :subject => model(:id => payload['sub'],
                              :token_version => payload['ver'])
          }
        end
def parse ( payload ) { :issued_at => payload [ 'iat' ] , :version => payload [ 'ver' ] , :subject => model ( :id => payload [ 'sub' ] , :token_version => payload [ 'ver' ] ) } end
Parse raw JWT payload into params object used to initialize a token class
Parse raw JWT payload into params object used to initialize a token class
payload