Sha256: 1350214a678a033eefc90eeb769762bc4a73a049cb6a375d1cab73a482d97f8f
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 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' private def callback_url full_host + script_name + callback_path end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omniauth-cybozu-0.3.1 | lib/omniauth/strategies/cybozu.rb |
omniauth-cybozu-0.2.1 | lib/omniauth/strategies/cybozu.rb |