API Documentation

Zend/Amf/Adobe/Auth.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Amf  
Version
$Id: Auth.php 24594 2012-01-05 21:27:01Z 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

Propertyprotected\Zend_Acl  $_acl= ''

ACL for authorization

Details
Type
\Zend_Acl
Propertyprotectedarray  $_users= 'array()'

Username/password array

Default valuearray()Details
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
Documentation was generated by DocBlox 0.15.1.