Moodle  2.2.1
http://www.collinsharper.com
google_authsub_request Class Reference
Inheritance diagram for google_authsub_request:
Collaboration diagram for google_authsub_request:

Public Member Functions

 __construct ($authtoken)
 get_session_token ()

Static Public Member Functions

static get_auth_header_name ()

Data Fields

const AUTHSESSION_URL = 'https://www.google.com/accounts/AuthSubSessionToken'

Detailed Description

Definition at line 110 of file googleapi.php.


Constructor & Destructor Documentation

__construct ( authtoken)

Constructor. Calls constructor of its parents

Parameters:
string$authtokenThe token to upgrade to a session token

Reimplemented from curl.

Definition at line 118 of file googleapi.php.


Member Function Documentation

static get_auth_header_name ( ) [static]

Reimplemented from google_auth_request.

Definition at line 138 of file googleapi.php.

Requests a long-term session token from google based on the

Returns:
string Sub-Auth token

Definition at line 128 of file googleapi.php.


Field Documentation

const AUTHSESSION_URL = 'https://www.google.com/accounts/AuthSubSessionToken'

Definition at line 111 of file googleapi.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations