You are here

abstract class OAuth2Manager in Social Post 3.x

Same name and namespace in other branches
  1. 8.2 src/PostManager/OAuth2Manager.php \Drupal\social_post\PostManager\OAuth2Manager

Defines a basic PostManager.

@package Drupal\social_post\PostManager

Hierarchy

Expanded class hierarchy of OAuth2Manager

File

src/PostManager/OAuth2Manager.php, line 12

Namespace

Drupal\social_post\PostManager
View source
abstract class OAuth2Manager extends OAuth2ManagerBase implements OAuth2ManagerInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
OAuth2Manager::$accessToken protected property Access token for OAuth2 authentication.
OAuth2Manager::$client protected property The service client.
OAuth2Manager::$loggerFactory protected property The logger factory.
OAuth2Manager::$request protected property The current request.
OAuth2Manager::$settings protected property Social Auth implementer settings.
OAuth2Manager::$user protected property The user returned by the provider.
OAuth2Manager::getAccessToken public function Gets the access token after authentication. Overrides OAuth2ManagerInterface::getAccessToken
OAuth2Manager::getClient public function Gets the service client object. Overrides OAuth2ManagerInterface::getClient
OAuth2Manager::setAccessToken public function Sets the access token. Overrides OAuth2ManagerInterface::setAccessToken
OAuth2Manager::setClient public function Sets the provider client. Overrides OAuth2ManagerInterface::setClient
OAuth2Manager::__construct public function OAuth2Manager Constructor.
OAuth2ManagerInterface::authenticate public function Authenticates the user.
OAuth2ManagerInterface::getAuthorizationUrl public function Returns the authorization URL where user will be redirected.
OAuth2ManagerInterface::getState public function Returns OAuth2 state.
OAuth2ManagerInterface::getUserInfo public function Gets data about the user.