Sha256: 818ff9f900eacc388f68391dc9a030f4a2a359743631d8a2ac606bdf4399a5f9
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 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 AuthlogicConnect.consumer(oauth_provider) end def oauth_client oauth_token.client end def oauth_token AuthlogicConnect.token(oauth_provider) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authlogic-connect-0.0.1 | lib/authlogic_connect/oauth/variables.rb |