API Documentation

Zend/Service/DeveloperGarden/SecurityTokenServer/Cache.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: Cache.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_DeveloperGarden_SecurityTokenServer_Cache

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

Propertyprivate\Zend_Cache_Core  $_cache= 'null'
static

Internal cache for token values

Default valuenullDetails
Type
\Zend_Cache_Core
Access
private  
Propertyprotectedarray  $_storedToken= 'array( 'securityToken' => null'
static

array with stored tokens

Default valuearray( 'securityToken' => nullDetails
Type
array
Propertyprivateinteger  $_wsdlCache= 'null'
static

PHP SOAP wsdl cache constant

Default valuenullDetails
Type
integer

Methods

methodprotected__construct( ) : void

Constructor overriding - make sure that a developer cannot instantiate

methodpublicclearCache( ) : void
static

Clears all cache data

methodpublicgetCache( ) : \Zend_Cache_Core
static

Returns the cache

Returns
Type Description
\Zend_Cache_Core
methodpublicgetTokenFromCache( string $tokenId ) : \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface|null
static

returns stored token from cache or null

Parameters
Name Type Description
$tokenId string
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface|null
Throws
Exception Description
\Zend_Service_DeveloperGarden_Exception
methodpublicgetWsdlCache( ) : integer
static

Returns the wsdl cache

Returns
Type Description
integer
methodpublichasCache( ) : boolean
static

Returns true when a cache is set

Returns
Type Description
boolean
methodpublicremoveCache( ) : void
static

Removes any cache

methodpublicresetTokenCache( ) : void
static

reset the internal cache structure

methodpublicsetCache( \Zend_Cache_Core $cache ) : void
static

Set a cache for token

Parameters
Name Type Description
$cache \Zend_Cache_Core

A cache frontend

methodpublicsetTokenToCache( string $tokenId, \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface $tokenValue ) : void
static

set new value for the given tokenId

Parameters
Name Type Description
$tokenId string
$tokenValue \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
Throws
Exception Description
\Zend_Service_DeveloperGarden_Exception
methodpublicsetWsdlCache( integer $cache = null ) : void
static

Set a cache for wsdl file

Parameters
Name Type Description
$cache integer
Documentation was generated by DocBlox 0.15.1.