WEB开发 发表于 2012-12-17 21:38:29

详解Zend_Auth组件的使用

<div id="cnblogs_post_body">1、 Zend-Auth 认证(authentication)提供一个api并包括了一些通用用例情景的具体认证适配器
Zend_Auth适配器都实现一个zend_auth_adapter_interface 这个interface定义了一个方法authenticate()
<div class="cnblogs_code">class myauthadapter implements zend_auth_adapter_interface{public function __construct($username,$password){//....}public function authenticate(){//...}}
页: [1]
查看完整版本: 详解Zend_Auth组件的使用