KRB5CCache
PHP Manual

KRB5CCache::getEntries

(No version information available, might be only in CVS)

KRB5CCache::getEntriesGets the SPNs for which the ccache contains tickets

Description

public array KRB5CCache::getEntries ( void )

Gets the SPNs for which the ccache contains tickets.

Parameters

This function has no parameters.

Return Values

Returns an array of SPNs for which tickets exist.

Examples

Example #1 KRB5CCache::getEntries() example

<?php
$ccache 
= new KRB5CCache();
$ccache->initPassword("test","test");
$entries $ccache->getEntries();
var_dump($entries);
?>

The above example will output something similar to:

array(1) {
  [0]=>
  string(32) "krbtgt/MYREALM@MYREALM"
}


KRB5CCache
PHP Manual