preumich / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

PHP library: make OAuthDataStore an interface #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I think it would be more flexible if OAuthDataStore is an interface instead
of a class.

Original issue reported on code.google.com by dhofs...@gmail.com on 21 Mar 2008 at 8:02

GoogleCodeExporter commented 9 years ago
Moreover, there's difference in methods of SimpleOAuthDataStore and 
OAuthDataStore: new_access_token vs 
fetch_access_token etc. But I prefer making methods of OAuthDataStore abstract. 
There's even patch for this.

Original comment by atregoub...@gmail.com on 25 Mar 2008 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
making this an interface is an ehancement, i'm not that excited about the idea
though, opening a new bug for fixing all the data store stuff

Original comment by andyster on 15 Jul 2008 at 9:55

GoogleCodeExporter commented 9 years ago

Original comment by andyster on 15 Jul 2008 at 10:02

GoogleCodeExporter commented 9 years ago

Original comment by andyster on 15 Jul 2008 at 11:17