Amf/Adobe/Auth.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Amf
- version
- $Id: Auth.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_Amf_Adobe_Auth
Description
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Extends from
- Zend_Amf_Auth_Abstract
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Amf
- subpackage
- Adobe
- Properties
- $_acl
- $_users
- Methods
- __construct
- getAcl
- authenticate
Description
This class implements authentication against XML file with roles for Flex Builder.
Properties
Zend_Acl $_acl = ''
ACL for authorization
Details
- $_acl
-
Zend_Acl
- visibility
- protected
- default
- final
- false
- static
- false
array $_users = 'array'
Username/password array
Details
- $_users
- array
- visibility
- protected
- default
- array
- final
- false
- static
- false
Methods
__construct(
string $rolefile
)
:
Create auth adapter
Arguments
- $rolefile
- string
File containing XML with users and roles
Details
- visibility
- public
- final
- false
- static
- false
authenticate(
)
:
Zend_Auth_Result
Perform authentication
Details
- visibility
- public
- final
- false
- static
- false
- see
- Zend_Auth_Adapter_Interface#authenticate()
- throws
getAcl(
)
:
Zend_Acl
Get ACL with roles from XML file
Details
- visibility
- public
- final
- false
- static
- false