getClientDetails()
getClientDetails( $client_id) : array
Get client details corresponding client_id.
OAuth says we should store request URIs for each registered client. Implement this function to grab the stored URI for a given client id.
Parameters
$client_id | Client identifier to be check with. |
Returns
array —Client details. The only mandatory key in the array is "redirect_uri".
This function MUST return FALSE if the given client does not exist or is
invalid. "redirect_uri" can be space-delimited to allow for multiple valid uris.
return array(
"redirect_uri" => REDIRECT_URI, // REQUIRED redirect_uri registered for the client
"client_id" => CLIENT_ID, // OPTIONAL the client id
"grant_types" => GRANT_TYPES, // OPTIONAL an array of restricted grant types
"user_id" => USER_ID, // OPTIONAL the user identifier associated with this client
"scope" => SCOPE, // OPTIONAL the scopes allowed for this client
);