Sha256: 1589b268c32ae972e6bb23b32e3b567415061aeb1dbf718ffa89061b9103e4d7

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

require 'omniauth-oauth2'

module OmniAuth
  module Strategies
    class Cybozu < OmniAuth::Strategies::OAuth2
      option :name, 'cybozu'

      option :skip_info, true

      option :client_options, :authorize_url => '/oauth2/authorization',
               :token_url => '/oauth2/token'

      def callback_url
        full_host + script_name + callback_path
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
omniauth-cybozu-0.1.3 lib/omniauth/strategies/cybozu.rb
omniauth-cybozu-0.1.2 lib/omniauth/strategies/cybozu.rb
omniauth-cybozu-0.1.1 lib/omniauth/strategies/cybozu.rb
omniauth-cybozu-0.0.1 lib/omniauth/strategies/cybozu.rb