Sha256: 8802583255f7a022a7c1147af3012ed763c0c8eebb4cad8afa21d592cd464092
Contents?: true
Size: 606 Bytes
Versions: 4
Compression:
Stored size: 606 Bytes
Contents
module AuthlogicConnect::Oauth module Variables # These are just helper variables def oauth_response auth_params && oauth_key end def oauth_key return nil unless auth_controller oauth_version == 1.0 ? auth_params[:oauth_token] : auth_params[:code] end def oauth_version oauth_token.oauth_version end def oauth_provider auth_session[:oauth_provider] || "facebook" end def oauth_consumer oauth_token.consumer end def oauth_token AuthlogicConnect.token(oauth_provider) end end end
Version data entries
4 entries across 4 versions & 1 rubygems