logical-and / php-oauth

Support for authenticating users (without dep from any framework) using both OAuth1 and OAuth2 methods
https://packagist.org/packages/and/oauth
MIT License
43 stars 13 forks source link

Can you provide an example for File Storage #57

Open wpgeek922 opened 8 years ago

wpgeek922 commented 8 years ago

Hi, Could you guide me how to start with File Storage. FYI i have created a new txt file and passing its path like this $storage = new File("path/to/mytxt_file"); But its throwing an exception, "File contents not unserializeable". What step i'm missing?