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.





Class CAS_ProxiedService_Http_Abstract

This class implements common methods for ProxiedService implementations included with phpCAS.

CAS_ProxiedService_Abstract implements CAS_ProxiedService, CAS_ProxiedService_Testable
Extended by CAS_ProxiedService_Http_Abstract implements CAS_ProxiedService_Http
Package: PhpCAS
Category: Authentication
License: Apache License 2.0
Author: Adam Franco
Class: CAS_ProxiedService_Http_Abstract
Located at shared/cas/source/CAS/ProxiedService/Http/Abstract.php
Methods summary
# __construct( CAS_Request_RequestInterface $requestHandler, CAS_CookieJar $cookieJar )


public string
# getServiceUrl( )

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

# setUrl( string $url )

Set the URL of the Request

# send( )

Perform the request.

# makeRequest( string $url )

Build and perform a request, following redirects

abstract protected
# populateRequest( CAS_Request_RequestInterface $request )

Add any other parts of the request needed by concrete classes

protected string
# getRedirectUrl( array $responseHeaders )

Answer a redirect URL if a redirect header is found, otherwise null.

protected boolean
# hasBeenSent( )

Answer true if our request has been sent yet.

public array
# getResponseHeaders( )

Answer the headers of the response.

public integer
# getResponseStatusCode( )

Answer HTTP status code of the response

public string
# getResponseBody( )

Answer the body of response.

public array
# getCookies( )

Answer the cookies from the response. This may include cookies set during redirect responses.

Methods inherited from CAS_ProxiedService_Abstract
getProxyTicket(), initializeProxyTicket(), setCasClient(), setProxyTicket()
Properties summary
protected CAS_Request_RequestInterface $requestHandler

The HTTP request mechanism talking to the target service.

private CAS_CookieJar $_cookieJar

The storage mechanism for cookies set by the target service.

private string $_url

The target service url.

private integer $_numRequests

Indicator of the number of requests (including redirects performed.

# 0
private array $_responseHeaders

The response headers.

# array()
private string $_responseStatusCode

The response status code.

# ''
private string $_responseBody

The response headers.

# ''

© 2004-2022 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy