Sha256: adb66751ecb192e6557cebf21b41483d111a316332fe106a969572c5ebd5c305
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true require 'omniauth-oauth2' module OmniAuth module Strategies # OmniAuth strategy for Health Planet class Tanita < OmniAuth::Strategies::OAuth2 option :name, 'tanita' option :skip_info, true option :provider_ignores_state, true option :scope, 'innerscan' option :client_options, :site => 'https://www.healthplanet.jp', :authorize_url => '/oauth/auth' 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-tanita-0.4.0 | lib/omniauth/strategies/tanita.rb |
omniauth-tanita-0.3.0 | lib/omniauth/strategies/tanita.rb |