Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function logout($data, $new_session)
 {
     // Clear all tokens belonging to the user
     $storage = new \phpbb\auth\provider\oauth\token_storage($this->db, $this->user, $this->auth_provider_oauth_token_storage_table, $this->auth_provider_oauth_state_table);
     $storage->clearAllTokens();
     return;
 }