Class CAS_ProxiedService_Imap
Provides access to a proxy-authenticated IMAP stream
- CAS_ProxiedService_Abstract implements CAS_ProxiedService, CAS_ProxiedService_Testable
CAS_ProxiedService_Imap
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_Imap
Located at shared/cas/source/CAS/ProxiedService/Imap.php
Category: Authentication
License: Apache License 2.0
Author: Adam Franco afranco@middlebury.edu
Link: https://wiki.jasig.org/display/CASC/phpCAS
Class: CAS_ProxiedService_Imap
Located at shared/cas/source/CAS/ProxiedService/Imap.php
public |
|
public string |
|
public |
#
setServiceUrl( string
$url )
Set the URL of the service to pass to CAS for proxy-ticket retrieval. |
public |
|
public |
#
setOptions( integer
$options )
Set the options for opening the stream. See the $options parameter of imap_open(). |
public resource |
|
protected boolean |
|
public resource |
|
public string |
#
getImapProxyTicket( )
CAS_Client::serviceMail() needs to return the proxy ticket for some reason, so this method provides access to it. |
getProxyTicket(),
initializeProxyTicket(),
setCasClient(),
setProxyTicket() |
private string |
$_username
The username to send via imap_open. |
|
private string |
$_url
The target service url. |
|
private string |
$_mailbox
The mailbox to open. See the $mailbox parameter of imap_open(). |
|
private integer |
$_options
A bit mask of options to pass to imap_open() as the $options parameter. |
#
null |
private resource |
$_stream
The IMAP stream |