You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
Is this pseudocode, or have I skipped a section of the docs, or am I missing a library or a dependency or something?
My use for your library is to authenticate (once) as me, then when users upload files, then get copied to my dropbox and I get the sharing link back, so it's me authenticated, not them. Hence the db (database not dropbox) storage method.
Does your library have anything equivalent, or might it be possible to make a hybrid including some of his code? I'm slightly into "over my head" territory here so pointers would be appreciated!
The text was updated successfully, but these errors were encountered:
The store in db method is pseudocode to demonstrate what you might want to do with the token data. It is purely for example purposes and was not meant to be implemented. Sorry for the confusion.
In your case you will want to record the token data in a config file and recall it that way. You only need to store the token data in a database if you are authenticating with multiple users and those users have database entries.
OK, I understand. As it happens, I just found that the CMS I am using, PyroCMS, actually has a built-in encrypted field type in its ORM, so in fact it's as easy as (something along the lines of)
Hi Jim,
Great to see you updating this library.
In your docs, you mention:
$oauth = $this->dropbox->get_access_token($this->session->userdata('token_secret')); $this->_store_in_db($oauth['oauth_token']); $this->_store_in_db($oauth['oauth_token_secret']);
Which, of course, gives me
Call to undefined method Dbox::_store_in_db()
Is this pseudocode, or have I skipped a section of the docs, or am I missing a library or a dependency or something?
My use for your library is to authenticate (once) as me, then when users upload files, then get copied to my dropbox and I get the sharing link back, so it's me authenticated, not them. Hence the db (database not dropbox) storage method.
Over at https://github.com/BenTheDesigner/Dropbox/tree/master/Dropbox/OAuth/Storage he's got a db encrypted storage method, and warns to never store tokens unencrypted.
Does your library have anything equivalent, or might it be possible to make a hybrid including some of his code? I'm slightly into "over my head" territory here so pointers would be appreciated!
The text was updated successfully, but these errors were encountered: