class GoToWebinar::Auth::Configuration

Attributes

auth_scheme[RW]
authorize_optional_params[RW]
authorize_url[RW]
basic_auth_password[RW]
basic_auth_username[RW]
consumer_key[RW]
redis_url[RW]
secret_key[RW]
site[RW]
token_url[RW]

Public Class Methods

auth_scheme() click to toggle source
# File lib/go_to_webinar/auth/configuration.rb, line 35
def self.auth_scheme
  'basic_auth'
end
authorize_optional_params() click to toggle source
# File lib/go_to_webinar/auth/configuration.rb, line 27
def self.authorize_optional_params
  { response_type: 'code' }
end
authorize_url() click to toggle source
# File lib/go_to_webinar/auth/configuration.rb, line 23
def self.authorize_url
  '/oauth/v2/authorize'
end
new() click to toggle source
# File lib/go_to_webinar/auth/configuration.rb, line 11
def initialize
  @site = self.class.site
  @authorize_url = self.class.authorize_url
  @authorize_optional_params = self.class.authorize_optional_params
  @token_url = self.class.token_url
  @auth_scheme = self.class.auth_scheme
end
site() click to toggle source
# File lib/go_to_webinar/auth/configuration.rb, line 19
def self.site
  'https://api.getgo.com'
end
token_url() click to toggle source
# File lib/go_to_webinar/auth/configuration.rb, line 31
def self.token_url
  '/oauth/v2/token'
end