API Documentation

Service/DeveloperGarden/Credential.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
version
$Id: Credential.php 20166 2010-01-09 19:00:17Z bkarwin $
Classes
Zend_Service_DeveloperGarden_Credential

Description

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.

Zend_Service_DeveloperGarden_Credential

author
Marco Kaiser
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
Properties
$_username
$_password
$_realm
Methods
__construct
setPassword
getPassword
setUsername
getUsername
setRealm
getRealm

Description

Properties

$_password

string $_password = 'null'

Service Password

Details

$_password
string
visibility
protected
default
null
final
false
static
false

$_realm

string $_realm = 't-online.de'

Service Realm - default t-online.de

Details

$_realm
string
visibility
protected
default
t-online.de
final
false
static
false

$_username

string $_username = 'null'

Service Auth Username

Details

$_username
string
visibility
protected
default
null
final
false
static
false

Methods

__construct

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

constructor to init the internal data

Arguments
$username
string
$password
string
$realm
string
Details
visibility
public
final
false
static
false

getPassword

getPassword( ) : string

returns the current configured password

Output
string
Details
visibility
public
final
false
static
false

getRealm

getRealm( ) : string|null

returns the realm

Output
string|null
Details
visibility
public
final
false
static
false

getUsername

getUsername( $boolean $withRealm = false ) : string|null

returns the username

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

Arguments
$withRealm
$boolean
withRealm
Output
string|null
Details
visibility
public
final
false
static
false

setPassword

setPassword( string $password = null ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

split the password into an array

Arguments
$password
string
Details
visibility
public
final
false
static
false
throws

setRealm

setRealm( string $realm = null ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

set the new realm

Arguments
$realm
string
Details
visibility
public
final
false
static
false
throws

setUsername

setUsername( string $username = null ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

set the new login

Arguments
$username
string
Details
visibility
public
final
false
static
false
throws
Documentation was generated by DocBlox.