module RapidApi::Auth::Concerns::JWTHelpers
Public Instance Methods
jwt_decode(token)
click to toggle source
# File lib/rapid_api/auth/concerns/jwt_helpers.rb, line 16 def jwt_decode(token) Support::JWT.decode(token) end
jwt_encode(payload)
click to toggle source
# File lib/rapid_api/auth/concerns/jwt_helpers.rb, line 12 def jwt_encode(payload) Support::JWT.encode(payload) end