Amf/Adobe/Auth.php

Show: PublicProtectedPrivateinherited
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Amf  
Version
$Id$  

\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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Acl $_acl
ACL for authorization
Details
Type
\Zend_Acl
>VPropertyprotectedarray $_users = array()
Username/password array
Default valuearray()Details
Type
array

Methods

methodpublic__construct(string $rolefile) : void

Create auth adapter

Parameters
NameTypeDescription
$rolefilestring

File containing XML with users and roles

methodpublicauthenticate() : \Zend_Auth_Result

Perform authentication

Returns
TypeDescription
\Zend_Auth_Result
Throws
ExceptionDescription
\Zend_Auth_Adapter_Exception
Details
See
 
methodpublicgetAcl() : \Zend_Acl

Get ACL with roles from XML file

Returns
TypeDescription
\Zend_Acl
Documentation was generated by phpDocumentor 2.2.0 .