You are here

public function NetworkInterface::authenticate in Social API 8

Authenticates the request with the SDK library.

Most of the time this will just mean settings some state properties for so the publish method can pass them along to the external SDK library. The authentication is considered to be at the plugin level. If your network implementation needs the authentication to happen at every request, implement that business logic in doPost.

1 method overrides NetworkInterface::authenticate()
NetworkBase::authenticate in src/Plugin/NetworkBase.php
By default assume that no action needs to happen to authenticate a request.

File

src/Plugin/NetworkInterface.php, line 22

Class

NetworkInterface
Defines an interface for Social Network plugins.

Namespace

Drupal\social_api\Plugin

Code

public function authenticate();