You are here

private function Setup::checkForRemoteSetupToken in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Setup.php \Drupal\drd_agent\Setup::checkForRemoteSetupToken()
3 calls to Setup::checkForRemoteSetupToken()
Setup::execute in src/Setup.php
Perform the configuration with the data from the token.
Setup::getDomain in src/Setup.php
Get the hostname to which we should redirect after confirmation.
Setup::__construct in src/Setup.php
Setup constructor.

File

src/Setup.php, line 47

Class

Setup
Class Setup.

Namespace

Drupal\drd_agent

Code

private function checkForRemoteSetupToken() {
  if (isset($_SESSION['drd_agent_authorization_values'])) {
    $this
      ->setRemoteSetupToken($_SESSION['drd_agent_authorization_values']);
  }
}