Sponsored Content
Full Discussion: Latest News on Unix
Top Forums UNIX for Dummies Questions & Answers Latest News on Unix Post 36077 by NanoUno on Tuesday 20th of May 2003 12:31:31 PM
Old 05-20-2003
www.google.com

(It never fails)
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix based news servers +dialup numbers

Is there a website that lists telephone numbers for dialup connection to unix based servers? There used to be such a site but can't find it now. What I need is numbers, which my ISP supports, that I can use to access a news server, unix-based. (1 Reply)
Discussion started by: robfo
1 Replies

2. What is on Your Mind?

Volunteers for Unix Linux News Site (Word Press)

We are thinking to replace our "not very popular blog" with a "news channel" using the Wordpress newswire 1.2 theme. Anyone interested in volunteering to be a "reporter", "writer" or "editor"? ---------- Post updated at 09:18 ---------- Previous update was at 09:15 ---------- OBTW, I got... (0 Replies)
Discussion started by: Neo
0 Replies
Net::OAuth::Client(3pm) 				User Contributed Perl Documentation				   Net::OAuth::Client(3pm)

NAME
Net::OAuth::Client - OAuth 1.0A Client SYNOPSIS
# Web Server Example (Dancer) # This example is simplified for illustrative purposes, see the complete code in /demo # Note that client_id is the Consumer Key and client_secret is the Consumer Secret use Dancer; use Net::OAuth::Client; sub client { Net::OAuth::Client->new( config->{client_id}, config->{client_secret}, site => 'https://www.google.com/', request_token_path => '/accounts/OAuthGetRequestToken?scope=https%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2F', authorize_path => '/accounts/OAuthAuthorizeToken', access_token_path => '/accounts/OAuthGetAccessToken', callback => uri_for("/auth/google/callback"), session => &session, ); } # Send user to authorize with service provider get '/auth/google' => sub { redirect client->authorize_url; }; # User has returned with token and verifier appended to the URL. get '/auth/google/callback' => sub { # Use the auth code to fetch the access token my $access_token = client->get_access_token(params->{oauth_token}, params->{oauth_verifier}); # Use the access token to fetch a protected resource my $response = $access_token->get('/m8/feeds/contacts/default/full'); # Do something with said resource... if ($response->is_success) { return "Yay, it worked: " . $response->decoded_content; } else { return "Error: " . $response->status_line; } }; dance; DESCRIPTION
Net::OAuth::Client represents an OAuth client or consumer. WARNING: Net::OAuth::Client is alpha code. The rest of Net::OAuth is quite stable but this particular module is new, and is under- documented and under-tested. METHODS
new($client_id, $client_secret, %params) Create a new Client o $client_id AKA Consumer Key - you get this from the service provider when you register your application. o $client_secret AKA Consumer Secret - you get this from the service provider when you register your application. o $params{site} o $params{request_token_path} o $params{authorize_path} o $params{access_token_path} o $params{callback} o $params{session} LICENSE AND COPYRIGHT
Copyright 2011 Keith Grennan. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information. perl v5.14.2 2012-01-10 Net::OAuth::Client(3pm)
All times are GMT -4. The time now is 06:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy