Egg::Model::Auth::Base::API - Base class for API module of Egg::Model::Auth.
It is a base class to succeed to from API class dynamically generated with the AUTH controller.
see Egg::Model::Auth::API::DBI, Egg::Model::Auth::API::DBIC, Egg::Model::Auth::API::File,
ŠeAPIƒNƒ‰ƒX—pƒRƒ“ƒtƒBƒOƒŒ�[ƒVƒ‡ƒ“‚Å‹¤’Ê‚Ì�€–Ú‚Å‚·�B
Constructor.
my $auth= $e->model('auth_label_name'); my $api = $auth->api('File');
The format of INPUT_ID is checked.
The format can be defined by setting the regular expression to 'user_id_regexp' of the configuration for each API.
Default is '[A-Za-z0-9\_\-]{4,16}'.
The format of INPUT_PASSWORD is checked.
The format can be defined by setting the regular expression to 'password_regexp' of the configuration for each API.
Default is '[\x00-\x7F]{4,16}'.
If REGIST_PASSWORD is corresponding to INPUT_PASSWORD, effective is returned.
if ($api->password_check($reg_psw, $in_psw)) { ......... } else { ......... }
It is not possible to correspond by this method when encrypted for the registered password. Please set up the component of the Crypt system to API class.
package MyApp::Model::Auth::MyAuth; ........... .... __PACKAGE__->setup_api( File=> qw/ Crypt::SHA1 / );
see Egg::Model::Auth::Crypt::SHA1, Egg::Model::Auth::Crypt::MD5, Egg::Model::Auth::Crypt::Func, Egg::Model::Auth::Crypt::CBC,
Egg::Release, Egg::Model::Auth, Egg::Model::Auth::Base, Egg::Base, Egg::Component,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
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.6 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'ŠeAPIƒNƒ‰ƒX—pƒRƒ“ƒtƒBƒOƒŒ�[ƒVƒ‡ƒ“‚Å‹¤’Ê‚Ì�€–Ú‚Å‚·�B'. Assuming CP1252
To install Egg::Release::Authorize, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release::Authorize
CPAN shell
perl -MCPAN -e shell install Egg::Release::Authorize
For more information on module installation, please visit the detailed CPAN module installation guide.