lib/dropbox/session.rb
# Authorizes a user from the information returned by Dropbox. This is the
# third step in the authorization process, after sending the user to the
# authorize_url.
#
# You can pass to this method a hash containing the keys and values of the
# OAuth parameters returned by Dropbox. An example in Rails:
#
#  session.authorize :oauth_verifier => params[:oauth_verifier]
#
# Returns a boolean indicating if authentication was successful.
Authorizes a user from the information returned by Dropbox. This is the
third step in the authorization process, after sending the user to the
authorize_url.

You can pass to this method a hash containing the keys and values of the
OAuth parameters returned by Dropbox. An example in Rails.



Returns a boolean indicating if authentication was successful.
Authorizes a user from the information returned by Dropbox . This is the third step in the authorization process after sending the user to the authorize_url . You can pass to this method a hash containing the keys and values of the OAuth parameters returned by Dropbox . An example in Rails . Returns a boolean indicating if authentication was successful .
def authorize(options={})
      @access_token = @request_token.get_access_token(options)
      @request_token = nil if @access_token
      return @access_token.to_bool
    end
def authorize ( options = { } ) @access_token = @request_token . get_access_token ( options ) @request_token = nil if @access_token return @access_token . to_bool end
Authorizes a user from the information returned by Dropbox.
Authorizes a user from the information returned by Dropbox .
options