class-CAS_PGTStorage_AbstractStorage

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
Overview

Classes

Interfaces

Exceptions

Functions

Class CAS_PGTStorage_AbstractStorage

Basic class for PGT storage The CAS_PGTStorage_AbstractStorage class is a generic class for PGT storage. This class should not be instanciated itself but inherited by specific PGT storage classes.

Direct known subclasses

CAS_PGTStorage_Db, CAS_PGTStorage_File
Abstract
Package: PhpCAS
Category: Authentication
License: Apache License 2.0
Author: Pascal Aubry pascal.aubry@univ-rennes1.fr
Link: https://wiki.jasig.org/display/CASC/phpCAS
Class: CAS_PGTStorage_AbstractStorage
Ingroup: internalPGTStorage
Located at shared/cas/source/CAS/PGTStorage/AbstractStorage.php
Methods summary
public
# __construct( CAS_Client $cas_parent )

The constructor of the class, should be called only by inherited classes.

public
# getStorageType( )

This virtual method returns an informational string giving the type of storage used by the object (used for debugging purposes).

public
# getStorageInfo( )

This virtual method returns an informational string giving informations on the parameters of the storage.(used for debugging purposes).

public
# setErrorMessage( string $error_message )

This method sets en error message, which can be read later by PGTStorage::getErrorMessage().

public an
# getErrorMessage( )

This method returns an error message set by PGTStorage::setErrorMessage().

public a
# isInitialized( )

This method tells if the storage has already been intialized.

public
# init( )

This virtual method initializes the object.

public
# write( string $pgt, string $pgt_iou )

This virtual method stores a PGT and its corresponding PGT Iuo.

public
# read( string $pgt_iou )

This virtual method reads a PGT corresponding to a PGT Iou and deletes the corresponding storage entry.

Properties summary
public boolean $_error_message

string used to store an error message. Written by PGTStorage::setErrorMessage(), read by PGTStorage::getErrorMessage().

# false
public boolean $_initialized

a boolean telling if the storage has already been initialized. Written by PGTStorage::init(), read by PGTStorage::isInitialized().

# false
 

© 2004-2018 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy