02 Nov 2014 11:49:47 UTC
- Distribution: Net-OATH-Server
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (545 / 8 / 0)
- KwaliteeBus factor: 0
- % Coverage
- License: perl_5
- Perl: v5.8.1
- Activity24 month
- Download (15.5KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionRITOU Ryo Ito
Net::OATH::Server::Lite::DataHandler - Base class that specifies interface for data handler for your server.
This connects Net::OATH::Server::Lite library to your service. This specifies an interface to handle data stored in your application. You must inherit this and implement the subroutines according to the interface contract.
package YourDataHandler; use strict; use warnings; use parent 'Net::OATH::Server::Lite::DataHandler';
This method can be implemented to initialize your subclass.
Returns <Plack::Request> object.
Returns identifier of new user object.
Returns raw secret of new user object.
Inserts new user object to your datastore and returnes result as a boolean.
Return user object which is found by $id.
Updates user object on your datastore and returnes result as a boolean.
Deletes user object which is found by $id on your datastore and returnes result as a boolean.
Module Install Instructions
To install Net::OATH::Server, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Net::OATH::Server
For more information on module installation, please visit the detailed CPAN module installation guide.