ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
Consumer.php File Reference

Go to the source code of this file.

Data Structures

class  Auth_OpenID_Consumer
class  Auth_OpenID_DiffieHellmanSHA1ConsumerSession
class  Auth_OpenID_DiffieHellmanSHA256ConsumerSession
class  Auth_OpenID_PlainTextConsumerSession
class  Auth_OpenID_GenericConsumer
class  Auth_OpenID_AuthRequest
class  Auth_OpenID_ConsumerResponse
class  Auth_OpenID_SuccessResponse
class  Auth_OpenID_FailureResponse
class  Auth_OpenID_TypeURIMismatch
class  Auth_OpenID_ServerErrorContainer
class  Auth_OpenID_CancelResponse
class  Auth_OpenID_SetupNeededResponse

Namespaces

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

Functions

 Auth_OpenID_getAvailableSessionTypes ()
 Returns available session types.

Variables

const Auth_OpenID_SUCCESS = 'success'
 Require utility classes and functions for the consumer.
const Auth_OpenID_CANCEL = 'cancel'
 Status to indicate cancellation of OpenID authentication.
const Auth_OpenID_FAILURE = 'failure'
 This is the status code completeAuth returns when the value it received indicated an invalid login.
const Auth_OpenID_SETUP_NEEDED = 'setup needed'
 This is the status code completeAuth returns when the Auth_OpenID_Consumer instance is in immediate mode, and the identity server sends back a URL to send the user to to complete his or her login.
const Auth_OpenID_PARSE_ERROR = 'parse error'
 This is the status code beginAuth returns when the page fetched from the entered OpenID URL doesn't contain the necessary link tags to function as an identity page.

Function Documentation

Auth_OpenID_getAvailableSessionTypes ( )

Returns available session types.

Definition at line 551 of file Consumer.php.

Referenced by Auth_OpenID_GenericConsumer\Auth_OpenID_GenericConsumer().

{
$types = array(
'no-encryption' => 'Auth_OpenID_PlainTextConsumerSession',
'DH-SHA1' => 'Auth_OpenID_DiffieHellmanSHA1ConsumerSession',
'DH-SHA256' => 'Auth_OpenID_DiffieHellmanSHA256ConsumerSession');
return $types;
}

+ Here is the caller graph for this function:

Variable Documentation

const Auth_OpenID_CANCEL = 'cancel'

Status to indicate cancellation of OpenID authentication.

Definition at line 185 of file Consumer.php.

Referenced by Auth_OpenID_Consumer\complete(), and ilAuthContainerOpenId\fetchData().

const Auth_OpenID_FAILURE = 'failure'

This is the status code completeAuth returns when the value it received indicated an invalid login.

Definition at line 191 of file Consumer.php.

Referenced by ilAuthContainerOpenId\fetchData().

const Auth_OpenID_PARSE_ERROR = 'parse error'

This is the status code beginAuth returns when the page fetched from the entered OpenID URL doesn't contain the necessary link tags to function as an identity page.

Definition at line 206 of file Consumer.php.

const Auth_OpenID_SETUP_NEEDED = 'setup needed'

This is the status code completeAuth returns when the Auth_OpenID_Consumer instance is in immediate mode, and the identity server sends back a URL to send the user to to complete his or her login.

Definition at line 199 of file Consumer.php.

const Auth_OpenID_SUCCESS = 'success'

Require utility classes and functions for the consumer.

This is the status code returned when the complete method returns successfully.

Definition at line 180 of file Consumer.php.

Referenced by Auth_OpenID_Consumer\complete(), and ilAuthContainerOpenId\fetchData().