phpCAS version 1.3.6

Namespaces | Variables
example_gateway.php File Reference

Go to the source code of this file.

## Namespaces
| PhpCAS

## Variables
if(isset($_REQUEST['logout'])) if(isset($_REQUEST['login'])) | $auth = phpCAS::checkAuthentication()

## Detailed Description

Example that uses the CAS gateway feature

PHP Version 5

Definition in file example_gateway.php.

## Variable Documentation

## ◆ $auth

if (isset( $_REQUEST[ 'logout'])) if (isset( $_REQUEST[ 'login'])) $auth = phpCAS::checkAuthentication()

Examples:
  example_gateway.php.

Definition at line 47 of file example_gateway.php.

Referenced by CAS_Client\_wasPreviouslyAuthenticated(), phpCAS\checkAuthentication(), phpCAS\forceAuthentication(), phpCAS\isAuthenticated(), CAS_Client\markAuthenticationCall(), and phpCAS\renewAuthentication().