Sha256: e81ee7c9e7aa313f33537caa017b55780b47287888ddc2b30d7a0bc921d335c4
Contents?: true
Size: 686 Bytes
Versions: 1
Compression:
Stored size: 686 Bytes
Contents
# frozen_string_literal: true require 'dry-configurable' require 'jwt' # The module 'JwtAuth' provides jwt authentication for rails using the jwt gem # @author Researchable module JwtAuthenticable extend Dry::Configurable setting :algorithm # Note that for RSA algorithms this will actually be the public key setting :jwt_secret_key, default: nil SUPPORTED_ALGOS = [JWT::Algos::Hmac, JWT::Algos::Rsa].freeze class Error < StandardError; end end require_relative 'jwt_authenticable/version' require_relative 'jwt_authenticable/exceptions' require_relative 'jwt_authenticable/responses' require_relative 'jwt_authenticable/auth' require_relative 'jwt_authenticable/info'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
researchable_jwt-authenticable-1.0.1 | lib/jwt_authenticable.rb |