API Documentation

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Amf  
version
$Id: Auth.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Amf_Adobe_Auth

This class implements authentication against XML file with roles for Flex Builder.

Extends from
\Zend_Amf_Auth_Abstract
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Amf  
subpackage
Adobe  

Properties

Propertyprotected\Zend_Acl  $_acl= ''

ACL for authorization

Details
Type
\Zend_Acl
Propertyprotectedarray  $_users= 'array'

Username/password array

Default valuearrayDetails
Type
array

Methods

methodpublic__construct( string $rolefile ) : void

Create auth adapter

Parameters
Name Type Description
$rolefile string File containing XML with users and roles
methodpublicauthenticate( ) : \Zend_Auth_Result

Perform authentication

Returns
Type Description
\Zend_Auth_Result
Throws
Exception Description
\Zend_Auth_Adapter_Exception
Details
see
\Zend_Auth_Adapter_Interface#authenticate()  
methodpublicgetAcl( ) : \Zend_Acl

Get ACL with roles from XML file

Returns
Type Description
\Zend_Acl
methodpublicsetCredentials(  $username,  $password ) : void
Parameters
Name Type Description
$username
$password
Documentation was generated by DocBlox 0.13.3.