|
| | __construct ($attribute=0, $value=NULL) |
| |
| | paint ($prefix, $read_only=FALSE) |
| |
| | process ($prefix) |
| |
| | getRequestToken ($consumer_key='', $consumer_secret='') |
| |
| | authorizeRedirect ($request_token=Array()) |
| |
| | authorize ($request_token=Array()) |
| |
| | getAccessToken ($authorized_token, $verifier, $token_secret) |
| |
| | getUserDataAuthHeader ($url='', $access_token='', $access_token_secret='', $url_encode=TRUE) |
| |
| | getErrors () |
| |
| | getType () |
| |
| | setConfig ($config_name, $config_value) |
| |
| | __construct ($attribute=0, $value=NULL) |
| |
| | paint ($prefix, $read_only=FALSE) |
| |
| | process ($prefix) |
| |
| | setKeywordReplacements ($replacements) |
| |
| | run () |
| |
| | Asset_Attribute_Serialise ($attributeid=0, $value=null) |
| |
| | validateValue (&$value) |
| |
| | getContent () |
| |
| | Asset_Attribute ($attributeid=0, $value=NULL, $default_params=Array()) |
| |
| & | loadAttribute ($attributeid=0, $value=NULL, $default_params=Array()) |
| |
| | type () |
| |
| | paint ($prefix, $read_only=FALSE) |
| |
| | paintEditParams ($prefix, $write_access=FALSE) |
| |
| | processEditParams ($prefix) |
| |
| | process ($prefix) |
| |
| | validateValue (&$value) |
| |
| | setValue (&$value) |
| |
| | setEditParams (&$node) |
| |
| | setEditParam ($field, $value) |
| |
| | setParam ($field, $value) |
| |
| | getContent () |
| |
| | getKeywordValue ($format='') |
| |
| | exportToXML () |
| |
| | exportContentsToXML () |
| |
| | MySource_Object () |
| |
| | __sleep () |
| |
| | __wakeup () |
| |
Definition at line 32 of file oauth.inc.
| __construct |
( |
|
$attribute = 0, |
|
|
|
$value = NULL |
|
) |
| |
Constructor
- Parameters
-
| string | $assetid | the asset id to be loaded |
Definition at line 57 of file oauth.inc.
| authorize |
( |
|
$request_token = Array() | ) |
|
get a request token authorized by service provider
- Returns
- Array public
Definition at line 644 of file oauth.inc.
| authorizeRedirect |
( |
|
$request_token = Array() | ) |
|
get a request token authorized by service provider redirecting user to the service provider's site
- Parameters
-
| String | $request_token | request token string |
- Returns
- null public
Definition at line 626 of file oauth.inc.
| getAccessToken |
( |
|
$authorized_token, |
|
|
|
$verifier, |
|
|
|
$token_secret |
|
) |
| |
get an access token from service provider
- Parameters
-
| String | $authorized_token | token authorized by service provider String $token_secret token secret provided by service provider |
- Returns
- Array public
Definition at line 720 of file oauth.inc.
Get errors encountered during OAuth process
- Parameters
-
- Returns
- Array public
Definition at line 914 of file oauth.inc.
| getRequestToken |
( |
|
$consumer_key = '', |
|
|
|
$consumer_secret = '' |
|
) |
| |
get request token from an oauth service provider
- Parameters
-
| String | $consumer_key | consumer key registered with the service provider String $consumer_secret consumer secret registered with the service provider |
- Returns
- Array public
Definition at line 495 of file oauth.inc.
Get the type of this OAuth authentication - 2 legged or 3 legged
- Parameters
-
- Returns
- String public
Definition at line 929 of file oauth.inc.
| getUserDataAuthHeader |
( |
|
$url = '', |
|
|
|
$access_token = '', |
|
|
|
$access_token_secret = '', |
|
|
|
$url_encode = TRUE |
|
) |
| |
Runs the remote requests.
- Parameters
-
| Boolean | $url_encode | whether to url_encode the query part of the $url |
public
- Returns
- void
Definition at line 852 of file oauth.inc.
| paint |
( |
|
$prefix, |
|
|
|
$read_only = FALSE |
|
) |
| |
Print the interface for filling in a value
- Parameters
-
| string | $prefix | prefix for the form elements |
| boolean | $read_only | are we just printing the value |
- Returns
- void public
Definition at line 73 of file oauth.inc.
Process the interface for filling in a value
- Parameters
-
| string | $prefix | prefix for the form elements |
- Returns
- void public
Definition at line 254 of file oauth.inc.
| setConfig |
( |
|
$config_name, |
|
|
|
$config_value |
|
) |
| |
Set a config value
- Parameters
-
| String | $config_name | the name of the config to set |
| mixed | $config_value | the value of the config to set |
public
Definition at line 944 of file oauth.inc.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/attributes/oauth/oauth.inc