Amf/Adobe/Auth.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Amf
- Version
- $Id: Auth.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Amf_Adobe_Auth
Package: Zend\Amf\Adobe
This class implements authentication against XML file with roles for Flex Builder.
- Parent(s)
- \Zend_Amf_Auth_Abstract
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


$_password =
inheritedInherited from:
\Zend_Amf_Auth_Abstract::$$_password
Details
- Type
- n/a
- Inherited_from
- \Zend_Amf_Auth_Abstract::$$_password


$_username =
inheritedInherited from:
\Zend_Amf_Auth_Abstract::$$_username
Details
- Type
- n/a
- Inherited_from
- \Zend_Amf_Auth_Abstract::$$_username
Methods


__construct(string $rolefile) : void
Create auth adapter
Parameters
Name | Type | Description |
---|---|---|
$rolefile | string | File containing XML with users and roles |


authenticate() : \Zend_Auth_Result
Perform authentication
Returns
Throws
Details
Type | Description |
---|---|
\Zend_Auth_Result |
Exception | Description |
---|---|
\Zend_Auth_Adapter_Exception |
- See
- \global\Zend_Auth_Adapter_Interface#authenticate()


setCredentials( $username, $password) : void
inherited
Inherited from:
\Zend_Amf_Auth_Abstract::setCredentials()
Parameters
Name | Type | Description |
---|---|---|
$username | ||
$password |