class-CAS_ProxiedService_Imap

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_ProxiedService_Imap

Provides access to a proxy-authenticated IMAP stream

CAS_ProxiedService_Abstract implements CAS_ProxiedService, CAS_ProxiedService_Testable
Extended by 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
Methods summary
public
# __construct( string $username )

Constructor.

public string
# getServiceUrl( )

Answer a service identifier (URL) for whom we should fetch a proxy ticket.

public
# setServiceUrl( string $url )

Set the URL of the service to pass to CAS for proxy-ticket retrieval.

public
# setMailbox( string $mailbox )

Set the mailbox to open. See the $mailbox parameter of imap_open().

public
# setOptions( integer $options )

Set the options for opening the stream. See the $options parameter of imap_open().

public resource
# open( )

Open the IMAP stream (similar to imap_open()).

protected boolean
# hasBeenOpened( )

Answer true if our request has been sent yet.

public resource
# getStream( )

Answer the IMAP stream

public string
# getImapProxyTicket( )

CAS_Client::serviceMail() needs to return the proxy ticket for some reason, so this method provides access to it.

Methods inherited from CAS_ProxiedService_Abstract
getProxyTicket(), initializeProxyTicket(), setCasClient(), setProxyTicket()
Properties summary
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

 

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