module Auth0::Verifier

Main module for gem

Constants

VERSION

Public Class Methods

handler() click to toggle source
# File lib/auth0/verifier.rb, line 13
def handler
  @handler ||= Auth0::Verifier::Handler.new
end
verify!(options = {}) click to toggle source
# File lib/auth0/verifier.rb, line 17
def verify!(options = {})
  handler_options = options.dup.tap { |it| it.delete(:token) }
  handler = Auth0::Verifier::Handler.new(handler_options)
  handler.verify(options[:token])
end

Private Class Methods

method_missing(method_name, *args, &block) click to toggle source
Calls superclass method
# File lib/auth0/verifier.rb, line 25
def method_missing(method_name, *args, &block)
  return super unless handler.respond_to?(method_name)

  handler.send(method_name, *args, &block)
end
respond_to_missing?(method_name, include_private = false) click to toggle source
# File lib/auth0/verifier.rb, line 31
def respond_to_missing?(method_name, include_private = false)
  handler.respond_to?(method_name, include_private)
end