Class: OmniAuth::Strategies::Webex
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Webex
- Defined in:
- lib/omniauth/strategies/webex.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
12 13 14 15 |
# File 'lib/omniauth/strategies/webex.rb', line 12 def .[:scope] = 'spark-compliance:memberships_read spark:all spark-compliance:memberships_write spark-admin:people_write spark-admin:roles_read spark-admin:organizations_read spark-compliance:events_read spark-compliance:rooms_read spark-compliance:team_memberships_read spark-compliance:messages_write spark:kms spark-compliance:team_memberships_write spark-compliance:teams_read spark-admin:licenses_read spark-compliance:messages_read spark-admin:people_read' super end |
#basic_auth_header ⇒ Object
23 24 25 |
# File 'lib/omniauth/strategies/webex.rb', line 23 def basic_auth_header 'Basic ' end |
#build_access_token ⇒ Object
17 18 19 20 21 |
# File 'lib/omniauth/strategies/webex.rb', line 17 def build_access_token Rails.logger.debug 'Omniauth build access token' .token_params[:headers] = { 'Authorization' => basic_auth_header } super end |