You are here

public function BaseInterface::ott in DRD Agent 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Agent/Action/BaseInterface.php \Drupal\drd_agent\Agent\Action\BaseInterface::ott()

Validate a one-time-token.

Parameters

string $ott: Token to be validated.

string $remoteSetupToken: Base64 encoded RemoteSetupToken from DRD.

Return value

bool TRUE if token is valid and configuration succeeded, FALSE otherwise.

1 method overrides BaseInterface::ott()
Base::ott in src/Agent/Action/Base.php
Validate a one-time-token.

File

src/Agent/Action/BaseInterface.php, line 108

Class

BaseInterface
Defines an interface for Remote DRD Action Code.

Namespace

Drupal\drd_agent\Agent\Action

Code

public function ott($ott, $remoteSetupToken) : bool;