Module: Teems::Services::SafariOAuth
- Includes:
- OAuthCodeExchange, OAuthUrlBuilder, SafariOAuthPolling
- Included in:
- TokenExtractor
- Defined in:
- lib/teems/services/safari_oauth.rb
Overview
Single-hop Safari OAuth: one authorization code request via Safari (SSO Extension handles device auth), then HTTP exchanges for remaining tokens. Uses query string (?code=…) which Safari preserves, unlike fragments (#token=…) which get lost.
Constant Summary collapse
- SKYPE_RESOURCE =
'https://api.spaces.skype.com'
Constants included from OAuthCodeExchange
OAuthCodeExchange::GRAPH_RESOURCE, OAuthCodeExchange::TOKEN_ENDPOINT
Constants included from OAuthUrlBuilder
OAuthUrlBuilder::AUTHORIZE_ENDPOINT, OAuthUrlBuilder::REDIRECT_URI, OAuthUrlBuilder::TEAMS_APP_ID