mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/oauth] Remove get_service_credentials() from oauth provider
PHPBB3-11673
This commit is contained in:
parent
6a2871692c
commit
a8e60c306d
1 changed files with 0 additions and 20 deletions
|
@ -147,26 +147,6 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an array containing the service credentials belonging to requested
|
|
||||||
* service.
|
|
||||||
*
|
|
||||||
* @param string $service_name The name of the service
|
|
||||||
* @return array An array containing the 'key' and the 'secret' of the
|
|
||||||
* service in the form:
|
|
||||||
* array(
|
|
||||||
* 'key' => string
|
|
||||||
* 'secret' => string
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
protected function get_service_credentials($service_name)
|
|
||||||
{
|
|
||||||
return array(
|
|
||||||
'key' => $this->config['auth_oauth_' . $service_name . '_key'],
|
|
||||||
'secret' => $this->config['auth_oauth_' . $service_name . '_secret'],
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the cached current_uri object or creates and caches it if it is
|
* Returns the cached current_uri object or creates and caches it if it is
|
||||||
* not already created
|
* not already created
|
||||||
|
|
Loading…
Add table
Reference in a new issue