Class: SparkApi::Authentication::OpenIdOAuth2Hybrid
- Defined in:
- lib/spark_api/authentication/oauth2.rb
Overview
OpenId/OAuth 2 Hybrid
Uses OpenId for Authentication, but also uses OAuth2 for authorization.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from BaseAuth
Instance Method Summary collapse
Methods inherited from OAuth2
#authenticate, #initialize, #logout, #request, #session, #session=, #sparkbar_token
Methods inherited from BaseAuth
#authenticate, #authenticated?, #build_url_parameters, #initialize, #logout, #request
Constructor Details
This class inherits a constructor from SparkApi::Authentication::OAuth2
Instance Method Details
#authorization_url(parameters = {}) ⇒ Object
118 119 120 121 122 |
# File 'lib/spark_api/authentication/oauth2.rb', line 118 def (parameters={}) params = openid_parameters.merge(parameters) params["openid.spark.combined_flow"] = true build_openid_uri(params) end |