You are here

public function OAuthDrupalProvider::tokenHandler in OAuth 1.0 8

Same name and namespace in other branches
  1. 8.2 src/Authentication/Provider/OAuthDrupalProvider.php \Drupal\oauth\Authentication\Provider\OAuthDrupalProvider::tokenHandler()

Token handler callback.

@TODO this will be used in token authorization.

File

src/Authentication/Provider/OAuthDrupalProvider.php, line 136
Contains \Drupal\oauth\Authentication\Provider\OAuthProvider.

Class

OAuthDrupalProvider
Oauth authentication provider.

Namespace

Drupal\oauth\Authentication\Provider

Code

public function tokenHandler($provider) {
  return OAUTH_OK;
}