SCA::createDataObject

(PECL SDO >= 0.5.0) create an SDO SDO_DataObject SCA::createDataObject ( string $type_namespace_uri , string $type_name ) This method is used inside an SCA component that needs to create an SDO to return. The parameters are the desired SDO's namespace URI and type name. The namespace and type must be defined in one of the schema files which are specified on the @types annotation within the component. P

OAuthProvider::tokenHandler

(PECL OAuth >= 1.0.0) Set the tokenHandler handler callback public void OAuthProvider::tokenHandler ( callable $callback_function ) Sets the token handler callback, which will later be called with OAuthProvider::callTokenHandler(). Parameters: callback_function The callable functions name. Returns: No value is returned.

OAuthProvider::timestampNonceHandler

(PECL OAuth >= 1.0.0) Set the timestampNonceHandler handler callback public void OAuthProvider::timestampNonceHandler ( callable $callback_function ) Sets the timestamp nonce handler callback, which will later be called with OAuthProvider::callTimestampNonceHandler(). Errors related to timestamp/nonce are thrown to this callback. Parameters: callback_function The call

OAuthProvider::setRequestTokenPath

(PECL OAuth >= 1.0.0) Set request token path final public bool OAuthProvider::setRequestTokenPath ( string $path ) Sets the request tokens path. Parameters: path The path. Returns: TRUE This function is currently not documented; only its argument list is available.

OAuthProvider::setParam

(PECL OAuth >= 1.0.0) Set a parameter final public bool OAuthProvider::setParam ( string $param_key [, mixed $param_val ] ) Sets a parameter. Parameters: param_key The parameter key. param_val The optional parameter value. To exclude a parameter from signature verification, set its value to NULL. Returns:

OAuthProvider::reportProblem

(PECL OAuth >= 1.0.0) Report a problem final public static string OAuthProvider::reportProblem ( string $oauthexception [, bool $send_headers = true ] ) Pass in a problem as an OAuthException, with possible problems listed in the OAuth constants section. Parameters: oauthexception The OAuthException. Returns: No value is returned.

OAuthProvider::removeRequiredParameter

(PECL OAuth >= 1.0.0) Remove a required parameter final public bool OAuthProvider::removeRequiredParameter ( string $req_params ) Removes a required parameter. Parameters: req_params The required parameter to be removed. Returns: Returns TRUE on success or FALSE on failure. This function is currently not do

OAuthProvider::isRequestTokenEndpoint

(PECL OAuth >= 1.0.0) Sets isRequestTokenEndpoint public void OAuthProvider::isRequestTokenEndpoint ( bool $will_issue_request_token ) Parameters: will_issue_request_token Sets whether or not it will issue a request token, thus determining if OAuthProvider::tokenHandler() needs to be called. Returns: No value is returned.

OAuthProvider::is2LeggedEndpoint

(PECL OAuth >= 1.0.0) is2LeggedEndpoint public void OAuthProvider::is2LeggedEndpoint ( mixed $params_array ) The 2-legged flow, or request signing. It does not require a token. Parameters: params_array The 2-legged flow, or request signing. It does not require a token. Returns: An OAuthProvider object. Thi

OAuthProvider::generateToken

(PECL OAuth >= 1.0.0) Generate a random token final public static string OAuthProvider::generateToken ( int $size [, bool $strong = false ] ) Generates a string of pseudo-random bytes. Parameters: size The desired token length, in terms of bytes. strong Setting to TRUE means /dev/random will be used for entropy, as otherwise the non