gitpan / net-api-rpx Goto Github PK
View Code? Open in Web Editor NEWRead-only release history for Net-API-RPX
Home Page: http://metacpan.org/release/Net-API-RPX
License: Other
Read-only release history for Net-API-RPX
Home Page: http://metacpan.org/release/Net-API-RPX
License: Other
NAME Net::API::RPX - Perl interface to Janrain's RPX service VERSION version 0.04 SYNOPSIS use Net::API::RPX; my $rpx = Net::API::RPX->new({ api_key => '<your_api_key_here>' }); $rpx->auth_info({ token => $token }); DESCRIPTION This module is a simple wrapper around Janrain's RPX service. RPX provides a single method for dealing with third-party authentication. See <http://www.rpxnow.com> for more details. For specific information regarding the RPX API and method arguments, please refer to <https://rpxnow.com/docs>. ATTRIBUTES This is a Moose based module, this classes attribtues are as so: api_key This is the api_key provided by Janrain to interface with RPX. You will need to signup to RPX to get one of these. base_url This is the base URL that is used to make API calls against. It defaults to the RPX v2 API. ua This is a LWP::UserAgent object. You may override it if you require more fine grain control over remote queries. METHODS auth_info my $user_data = $rpx->auth_info({ token => $params{token} }); Upon redirection back from RPX, you will be supplied a token to use for verification. Call auth_info to verify the authenticity of the token and gain user details. 'token' argument is required, 'extended' argument is optional. map $rpx->map({ identifier => 'yet.another.open.id', primary_key => 12 }); This method allows you to map more than one 'identifier' to a user. 'identifier' argument is required, 'primary_key' argument is required, 'overwrite' is optional. unmap $rpx->unmap({ identifier => 'yet.another.open.id', primary_key => 12 }); This is the inverse of 'map'. 'identifier' argument is required, 'primary_key' argument is required. mappings my $data = $rpx->mappings({ primary_key => 12 }); This method returns information about the identifiers associated with a user. 'primary_key' argument is required. TEST COVERAGE This distribution is heavily unit and system tested for compatability with Test::Builder. If you come across any bugs, please send me or submit failing tests to Net-API-RPX RT queue. Please see the 'SUPPORT' section below on how to supply these. ---------------------------- ------ ------ ------ ------ ------ ------ ------ File stmt bran cond sub pod time total ---------------------------- ------ ------ ------ ------ ------ ------ ------ blib/lib/Net/API/RPX.pm 100.0 100.0 n/a 100.0 100.0 100.0 100.0 Total 100.0 100.0 n/a 100.0 100.0 100.0 100.0 ---------------------------- ------ ------ ------ ------ ------ ------ ------ BUGS Please report any bugs or feature requests to "bug-net-api-rpx at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-API-RPX>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT You can find documentation for this module with the perldoc command. perldoc Net::API::RPX You can also look for information at: * RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-API-RPX> * AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Net-API-RPX> * CPAN Ratings <http://cpanratings.perl.org/d/Net-API-RPX> * Search CPAN <http://search.cpan.org/dist/Net-API-RPX> SEE ALSO <http://www.janrain.com/>, <http://www.rpxnow.com/> AUTHORS * Scott McWhirter <[email protected]> * Kent Fredric <[email protected]> COPYRIGHT AND LICENSE This software is Copyright (c) 2012 by Cloudtone Studios. This is free software, licensed under: The (three-clause) BSD License
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.