Sha256: 32821dca263605737821541423e2cd6ab3276ec34c71ca3993f563da234cec1e

Contents?: true

Size: 704 Bytes

Versions: 3

Compression:

Stored size: 704 Bytes

Contents

# frozen_string_literal: true

require 'grape'
require_relative 'henshin_belt/version'

require 'henshin_belt/configuration'

require 'henshin_belt/oauth2'
require 'henshin_belt/extension'
require 'henshin_belt/helpers'

require 'henshin_belt/base_strategy'
require 'henshin_belt/auth_strategies/hub'
require 'henshin_belt/auth_methods'

require 'henshin_belt/errors/invalid_token'
require 'henshin_belt/errors/invalid_scope'
require 'henshin_belt/errors/expired_token'

module HenshinBelt
  extend HenshinBelt::Configuration
  define_setting :auth_strategy, 'hub'
  define_setting :resources, 'Models::Auth'
  define_setting :is_custom_scopes, false

  def self.config_resources
    resources
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
henshin-belt-0.0.3 lib/henshin-belt.rb
henshin-belt-0.0.2 lib/henshin-belt.rb
henshin-belt-0.0.1 lib/henshin-belt.rb