[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
This file is part of the phpBB Forum Software package.
Copyright: | (c) phpBB Limited |
License: | GNU General Public License, version 2 (GPL-2.0) |
File Size: | 672 lines (21 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
oauth:: (16 methods):
__construct()
init()
login()
get_current_uri()
get_service()
get_login_data()
acp()
get_acp_template()
login_link_has_necessary_data()
link_account()
link_account_login_link()
link_account_auth_link()
link_account_perform_link()
logout()
get_auth_link_data()
unlink_account()
__construct(\phpbb\db\driver\driver_interface $db, \phpbb\config\config $config, \phpbb\passwords\manager $passwords_manager, \phpbb\request\request_interface $request, \phpbb\user $user, $auth_provider_oauth_token_storage_table, $auth_provider_oauth_token_account_assoc, \phpbb\di\service_collection $service_providers, $users_table, \Symfony\Component\DependencyInjection\ContainerInterface $phpbb_container, \phpbb\event\dispatcher_interface $dispatcher, $phpbb_root_path, $php_ext) X-Ref |
OAuth Authentication Constructor param: \phpbb\db\driver\driver_interface $db param: \phpbb\config\config $config param: \phpbb\passwords\manager $passwords_manager param: \phpbb\request\request_interface $request param: \phpbb\user $user param: string $auth_provider_oauth_token_storage_table param: string $auth_provider_oauth_token_account_assoc param: \phpbb\di\service_collection $service_providers Contains \phpbb\auth\provider\oauth\service_interface param: string $users_table param: \Symfony\Component\DependencyInjection\ContainerInterface $phpbb_container DI container param: \phpbb\event\dispatcher_interface $dispatcher phpBB event dispatcher param: string $phpbb_root_path param: string $php_ext |
init() X-Ref |
{@inheritdoc} |
login($username, $password) X-Ref |
{@inheritdoc} |
get_current_uri($service_name, $query) X-Ref |
Returns the cached current_uri object or creates and caches it if it is not already created. In each case the query string is updated based on the $query parameter. param: string $service_name The name of the service param: string $query The query string of the current_uri return: \OAuth\Common\Http\Uri\UriInterface |
get_service($service_name, \phpbb\auth\provider\oauth\token_storage $storage, array $service_credentials, $query, array $scopes = array() X-Ref |
Returns a new service object param: string $service_name The name of the service param: \phpbb\auth\provider\oauth\token_storage $storage param: array $service_credentials {@see \phpbb\auth\provider\oauth\oauth::get_service_credentials} param: string $query The query string of the param: array $scopes The scope of the request against return: \OAuth\Common\Service\ServiceInterface |
get_login_data() X-Ref |
{@inheritdoc} |
acp() X-Ref |
{@inheritdoc} |
get_acp_template($new_config) X-Ref |
{@inheritdoc} |
login_link_has_necessary_data($login_link_data) X-Ref |
{@inheritdoc} |
link_account(array $link_data) X-Ref |
{@inheritdoc} |
link_account_login_link(array $link_data, $service_name) X-Ref |
Performs the account linking for login_link param: array $link_data The same variable given to {@see \phpbb\auth\provider\provider_interface::link_account} param: string $service_name The name of the service being used in return: string|null Returns a language constant (string) if an error is |
link_account_auth_link(array $link_data, $service_name) X-Ref |
Performs the account linking for auth_link param: array $link_data The same variable given to {@see \phpbb\auth\provider\provider_interface::link_account} param: string $service_name The name of the service being used in return: string|null Returns a language constant (string) if an error is |
link_account_perform_link(array $data) X-Ref |
Performs the query that inserts an account link param: array $data This array is passed to db->sql_build_array |
logout($data, $new_session) X-Ref |
{@inheritdoc} |
get_auth_link_data($user_id = 0) X-Ref |
{@inheritdoc} |
unlink_account(array $link_data) X-Ref |
{@inheritdoc} |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |