API Documentation

Zend/Service/DeveloperGarden/Credential.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_Service  
Subpackage
DeveloperGarden  
Version
$Id: Credential.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_DeveloperGarden_Credential

Package: Zend\Service\DeveloperGarden

Author
Marco Kaiser  
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_password= 'null'

Service Password

Default valuenullDetails
Type
string
Propertyprotectedstring  $_realm= ''t-online.de''

Service Realm - default t-online.de

Default value't-online.de'Details
Type
string
Propertyprotectedstring  $_username= 'null'

Service Auth Username

Default valuenullDetails
Type
string

Methods

methodpublic__construct( string $username = null, string $password = null, string $realm = null ) : \Zend_Service_DeveloperGarden_Credential

constructor to init the internal data

Parameters
Name Type Description
$username string
$password string
$realm string
Returns
Type Description
\Zend_Service_DeveloperGarden_Credential
methodpublicgetPassword( ) : string

returns the current configured password

Returns
Type Description
string
methodpublicgetRealm( ) : string|null

returns the realm

Returns
Type Description
string|null
methodpublicgetUsername( bool $withRealm = false ) : string|null

returns the username

if $withRealm == true we combine username and realm like username@realm

Parameters
Name Type Description
$withRealm bool
Returns
Type Description
string|null
methodpublicsetPassword( string $password = null ) : \Zend_Service_DeveloperGarden_Client_ClientAbstract

split the password into an array

Parameters
Name Type Description
$password string
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
methodpublicsetRealm( string $realm = null ) : \Zend_Service_DeveloperGarden_Client_ClientAbstract

set the new realm

Parameters
Name Type Description
$realm string
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
methodpublicsetUsername( string $username = null ) : \Zend_Service_DeveloperGarden_Client_ClientAbstract

set the new login

Parameters
Name Type Description
$username string
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
Documentation was generated by DocBlox 0.15.1.