OIDC::Lite::Server::DataHandler - Base class that specifies interface for data handler for your service.
This specifies interface to handle data stored on your application. You have to inherit this, and implements subroutines according to the interface contract. This is proxy or adapter that connects OIDC::Lite library to your service.
If your subclass need some initiation, implement in this method.
Returns <Plack::Request> object.
Validation of client and allowed response_type. If it's OK, return 1. Return 0 if not.
Validation of redirect_uri param. If it's OK, return 1. Return 0 if not.
Validation of scope param. If it's OK, return 1. Return 0 if not.
Validation of display param. If it's OK, return 1. Return 0 if not.
Validation of prompt param. If it's OK, return 1. Return 0 if not.
Validation of request param. If it's OK, return 1. Return 0 if not.
Validation of request_uri param. If it's OK, return 1. Return 0 if not.
Return current user_id string.
Return OIDC::Lite::Model::IDToken object.
Return OIDC::Lite::Model::AuthInfo object.
Return OIDC::Lite::Model::ClientInfo object.
Ryo Ito, <ritou.06@gmail.com>
Copyright (C) 2012 by Ryo Ito
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install OIDC::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OIDC::Lite
CPAN shell
perl -MCPAN -e shell install OIDC::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.