API Documentation

Service/DeveloperGarden/SecurityTokenServer/Cache.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: Cache.php 20166 2010-01-09 19:00:17Z bkarwin $
Classes
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache

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_SecurityTokenServer_Cache

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
$_storedToken
$_cache
$_wsdlCache
Methods
__construct
getTokenFromCache
setTokenToCache
resetTokenCache
getCache
setCache
hasCache
removeCache
clearCache
getWsdlCache
setWsdlCache

Description

Properties

$_cache

Zend_Cache_Core $_cache = 'null'

Internal cache for token values

Details

$_cache
Zend_Cache_Core
visibility
private
default
null
final
false
static
true
access
private

$_storedToken

array $_storedToken = 'array'

array with stored tokens

Details

$_storedToken
array
visibility
protected
default
array
final
false
static
true

$_wsdlCache

integer $_wsdlCache = 'null'

PHP SOAP wsdl cache constant

Details

$_wsdlCache
integer
visibility
private
default
null
final
false
static
true

Methods

__construct

__construct( ) :

Constructor overriding - make sure that a developer cannot instantiate

Details
visibility
protected
final
false
static
false

clearCache

clearCache( ) : void

Clears all cache data

Details
visibility
public
final
false
static
true

getCache

getCache( ) : Zend_Cache_Core

Returns the cache

Details
visibility
public
final
false
static
true

getTokenFromCache

getTokenFromCache( string $tokenId ) : Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface|null

returns stored token from cache or null

Arguments
$tokenId
string
Details
visibility
public
final
false
static
true
throws

getWsdlCache

getWsdlCache( ) : integer

Returns the wsdl cache

Output
integer
Details
visibility
public
final
false
static
true

hasCache

hasCache( ) : boolean

Returns true when a cache is set

Output
boolean
Details
visibility
public
final
false
static
true

removeCache

removeCache( ) : void

Removes any cache

Details
visibility
public
final
false
static
true

resetTokenCache

resetTokenCache( ) : void

reset the internal cache structure

Details
visibility
public
final
false
static
true

setCache

setCache( Zend_Cache_Core $cache ) :

Set a cache for token

Arguments
$cache
Zend_Cache_Core
A cache frontend
Details
visibility
public
final
false
static
true

setTokenToCache

setTokenToCache( string $tokenId, Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface $tokenValue ) : void

set new value for the given tokenId

Arguments
$tokenId
string
$tokenValue
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
Details
visibility
public
final
false
static
true
throws

setWsdlCache

setWsdlCache( integer $cache = null ) : void

Set a cache for wsdl file

Arguments
$cache
integer
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.