class-CAS_CookieJar

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_CookieJar

This class provides access to service cookies and handles parsing of response headers to pull out cookie values.

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_CookieJar
Located at shared/cas/source/CAS/CookieJar.php
Methods summary
public
# __construct( array & $storageArray )

Create a new cookie jar by passing it a reference to an array in which it should store cookies.

public
# storeCookies( string $request_url, array $response_headers )

Store cookies for a web service request. Cookie storage is based on RFC 2965: http://www.ietf.org/rfc/rfc2965.txt

public array
# getCookies( string $request_url )

Retrieve cookies applicable for a web service request. Cookie applicability is based on RFC 2965: http://www.ietf.org/rfc/rfc2965.txt

protected array
# parseCookieHeaders( array $header, string $defaultDomain )

Parse Cookies without PECL From the comments in http://php.net/manual/en/function.http-parse-cookie.php

protected array
# parseCookieHeader( string $line, string $defaultDomain )

Parse a single cookie header line.

protected
# storeCookie( array $cookie )

Add, update, or remove a cookie.

protected
# discardCookie( array $cookie )

Discard an existing cookie

protected
# expireCookies( )

Go through our stored cookies and remove any that are expired.

protected boolean
# cookieMatchesTarget( array $cookie, array $target )

Answer true if cookie is applicable to a target.

Properties summary
private $_cookies
 

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