ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
OpenID.php File Reference

Go to the source code of this file.

Data Structures

class  Auth_OpenID

Namespaces

namespace  OpenID
 This module contains code for dealing with associations between consumers and servers.

Functions

 Auth_OpenID_include_init ()

Variables

const Auth_OpenID_VERSION = '2.2.2'
 The library version string.
const Auth_OpenID_LOCAL_ERROR = 'local_error'
 Require the fetcher code.
const Auth_OpenID_REMOTE_ERROR = 'remote_error'
 Status code returned when there is an error to return in key-value form to the consumer.
const Auth_OpenID_REMOTE_OK = 'remote_ok'
 Status code returned when there is a key-value form OK response to the consumer.
const Auth_OpenID_REDIRECT = 'redirect'
 Status code returned when there is a redirect back to the consumer.
const Auth_OpenID_DO_AUTH = 'do_auth'
 Status code returned when the caller needs to authenticate the user.
const Auth_OpenID_DO_ABOUT = 'do_about'
 Status code returned when there were no OpenID arguments passed.
const Auth_OpenID_letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
 Defines for regexes and format checking.
const Auth_OpenID_digits = "0123456789"
const Auth_OpenID_punct = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"

Function Documentation

Auth_OpenID_include_init ( )

Definition at line 556 of file OpenID.php.

References Auth_OpenID_getMathLib(), and Auth_OpenID_setNoMathSupport().

{
if (Auth_OpenID_getMathLib() === null) {

+ Here is the call graph for this function:

Variable Documentation

const Auth_OpenID_digits = "0123456789"

Definition at line 98 of file OpenID.php.

Referenced by Auth_OpenID_FileStore\_isFilenameSafe().

const Auth_OpenID_DO_ABOUT = 'do_about'

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.

See Also
Auth_OpenID_Server

Definition at line 91 of file OpenID.php.

const Auth_OpenID_DO_AUTH = 'do_auth'

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.

See Also
Auth_OpenID_Server

Definition at line 81 of file OpenID.php.

const Auth_OpenID_letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

Defines for regexes and format checking.

Definition at line 96 of file OpenID.php.

Referenced by Auth_OpenID_FileStore\_isFilenameSafe().

const Auth_OpenID_LOCAL_ERROR = 'local_error'

Require the fetcher code.

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.

See Also
Auth_OpenID_Server

Definition at line 41 of file OpenID.php.

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

Definition at line 100 of file OpenID.php.

const Auth_OpenID_REDIRECT = 'redirect'

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.

See Also
Auth_OpenID_Server

Definition at line 70 of file OpenID.php.

const Auth_OpenID_REMOTE_ERROR = 'remote_error'

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.

See Also
Auth_OpenID_Server

Definition at line 50 of file OpenID.php.

const Auth_OpenID_REMOTE_OK = 'remote_ok'

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.

See Also
Auth_OpenID_Server

Definition at line 60 of file OpenID.php.

const Auth_OpenID_VERSION = '2.2.2'

The library version string.

Definition at line 23 of file OpenID.php.