Sha256: d8dca48d7b5b3688617735a1d09958121d61981bd68e84d8ce48dbce831e7865
Contents?: true
Size: 608 Bytes
Versions: 20
Compression:
Stored size: 608 Bytes
Contents
# frozen_string_literal: true require 'drillbit/configuration' require 'drillbit/tokens/null' module Drillbit module Tokens module JsonWebTokens class Null < Tokens::Null def audience nil end def issued_at nil end def issuer nil end def expiration nil end def id nil end def not_before nil end def owner_id nil end def subject_id nil end def subject nil end Drillbit.configuration.available_token_roles.each do |role| define_method("#{role}?") do false end end def roles [] end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems