2 Catalyst::Authentication::Credential::OAuth - OAuth credential for
3 Catalyst::Plugin::Authentication framework.
14 Session::Store::FastMmap
15 Session::State::Cookie
20 <Plugin::Authentication>
28 consumer_key my_app_key
29 consumer_secret my_app_secret
30 request_token_endpoint http://example.com/oauth/request_token
31 access_token_endpoint http://example.com/oauth/access_token
32 user_auth_endpoint http://example.com/oauth/authorize
38 </Plugin::Authentication>
45 if( $c->authenticate( { provider => 'example.com' } ) ) {
46 #do something with $c->user
52 $c->user->token_secret
53 $c->user->extra_params - whatever other params the provider sends back
56 Cosmin Budrica <cosmin@sinapticode.com>
58 Bogdan Lucaciu <bogdan@sinapticode.com>
60 With contributions from:
62 Tomas Doran E<lt>bobtfish@bobtfish.netE</gt>
65 Only tested with twitter
68 Copyright (c) 2009 Sinapticode. All rights reserved
70 This program is free software; you can redistribute it and/or modify it
71 under the same terms as Perl itself.