class-CAS_ProxiedService_Testable

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

Interface CAS_ProxiedService_Testable

This interface defines methods that allow proxy-authenticated service handlers to be tested in unit tests.

Classes implementing this interface SHOULD store the CAS_Client passed and initialize themselves with that client rather than via the static phpCAS method. For example: / ** * Fetch our proxy ticket. * / protected function initializeProxyTicket() { // Allow usage of a particular CAS_Client for unit testing. if (is_null($this->casClient)) phpCAS::initializeProxiedService($this); else $this->casClient->initializeProxiedService($this); }

Direct known implementers

CAS_ProxiedService_Abstract
Package: PhpCAS
Category: Authentication
License: Apache License 2.0
Author: Adam Franco afranco@middlebury.edu
Link: https://wiki.jasig.org/display/CASC/phpCAS
Class: CAS_ProxiedService_Testabel
Located at shared/cas/source/CAS/ProxiedService/Testable.php
Methods summary
public
# setCasClient( CAS_Client $casClient )

Use a particular CAS_Client->initializeProxiedService() rather than the static phpCAS::initializeProxiedService().

 

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