Zend Framework  1.12
Static Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache Class Reference

Static Public Member Functions

static getTokenFromCache ($tokenId)
 returns stored token from cache or null
 
static setTokenToCache ($tokenId, Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface $tokenValue)
 set new value for the given tokenId
 
static resetTokenCache ()
 reset the internal cache structure
 
static getCache ()
 Returns the cache.
 
static setCache (Zend_Cache_Core $cache)
 Set a cache for token.
 
static hasCache ()
 Returns true when a cache is set.
 
static removeCache ()
 Removes any cache.
 
static clearCache ()
 Clears all cache data.
 
static getWsdlCache ()
 Returns the wsdl cache.
 
static setWsdlCache ($cache=null)
 Set a cache for wsdl file.
 

Protected Member Functions

 __construct ()
 Constructor overriding - make sure that a developer cannot instantiate.
 

Static Protected Attributes

static $_storedToken
 

Constructor & Destructor Documentation

__construct ( )
protected

Constructor overriding - make sure that a developer cannot instantiate.

Member Function Documentation

static clearCache ( )
static

Clears all cache data.

Returns
void
static getCache ( )
static

Returns the cache.

Returns
Zend_Cache_Core
static getTokenFromCache (   $tokenId)
static

returns stored token from cache or null

Parameters
string$tokenId
Exceptions
Zend_Service_DeveloperGarden_Exception
Returns
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface|null
static getWsdlCache ( )
static

Returns the wsdl cache.

Returns
integer
static hasCache ( )
static

Returns true when a cache is set.

Returns
boolean
static removeCache ( )
static

Removes any cache.

Returns
void
static resetTokenCache ( )
static

reset the internal cache structure

Returns
void
static setCache ( Zend_Cache_Core  $cache)
static

Set a cache for token.

Parameters
Zend_Cache_Core$cacheA cache frontend
static setTokenToCache (   $tokenId,
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface  $tokenValue 
)
static

set new value for the given tokenId

Parameters
string$tokenId
Exceptions
Zend_Service_DeveloperGarden_Exception
Parameters
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface$tokenValue
Returns
void
static setWsdlCache (   $cache = null)
static

Set a cache for wsdl file.

Parameters
integer$cache
Returns
void

Member Data Documentation

$_storedToken
staticprotected
Initial value:
= array(
'securityToken' => null,
'getTokens' => null
)