Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: OpenID

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

File/openid/Auth/OpenID.php

Description

This is the PHP OpenID library by JanRain, Inc.

This module contains core utility functionality used by the library. See Consumer.php and Server.php for the consumer and server implementations.

PHP versions 4 and 5

LICENSE: See the COPYING file included in this distribution.

Includes
 require_once ("Services/Yadis/PlainHTTPFetcher.php") (line 23)

Require the fetcher code.

 require_once ("Services/Yadis/ParanoidHTTPFetcher.php") (line 24)
Constants
Auth_OpenID_digits = "0123456789" (line 92)
Auth_OpenID_DO_ABOUT = 'do_about' (line 84)

Status code returned when there were no OpenID arguments passed. This code indicates that the caller should return a 200 OK response and display an HTML page that says that this is an OpenID server endpoint.

Auth_OpenID_DO_AUTH = 'do_auth' (line 74)

Status code returned when the caller needs to authenticate the

user. The associated value is a Auth_OpenID_ServerRequest object that can be used to complete the authentication. If the user has taken some authentication action, use the retry() method of the Auth_OpenID_ServerRequest object to complete the request.

Auth_OpenID_letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" (line 89)

Defines for regexes and format checking.

Auth_OpenID_LOCAL_ERROR = 'local_error' (line 34)

Status code returned by the server when the only option is to show an error page, since we do not have enough information to redirect back to the consumer. The associated value is an error message that should be displayed on an HTML error page.

Auth_OpenID_punct = "!!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" (line 95)
Auth_OpenID_REDIRECT = 'redirect' (line 63)

Status code returned when there is a redirect back to the consumer. The value is the URL to redirect back to. The caller should return a 302 Found redirect with a Location: header containing the URL.

Auth_OpenID_REMOTE_ERROR = 'remote_error' (line 43)

Status code returned when there is an error to return in key-value form to the consumer. The caller should return a 400 Bad Request response with content-type text/plain and the value as the body.

Auth_OpenID_REMOTE_OK = 'remote_ok' (line 53)

Status code returned when there is a key-value form OK response to the consumer. The value associated with this code is the response. The caller should return a 200 OK response with content-type text/plain and the value as the body.


Documentation generated on Mon, 05 Mar 2007 21:12:14 +0000 by phpDocumentor 1.3.1