src/Token.php
public function send($authyId, $method = 'sms', $force = false, $action = null, $actionMessage = null): Response
    {
        // Prepare required variables
        $url = $this->api.$method."/{$authyId}";
        $params = $this->params + ['query' => ['force' => $force ? 'true' : 'false', 'action' => $action, 'actionMessage' => $actionMessage]];

        // Send Authy token, and return response
        return new Response($this->http->get($url, $params));
    }
public function send($authyId, $method = 'sms', $force = false, $action = null, $actionMessage = null): Response
    {
        // Prepare required variables
        $url = $this->api.$method."/{$authyId}";
        $params = $this->params + ['query' => ['force' => $force ? 'true' : 'false', 'action' => $action, 'actionMessage' => $actionMessage]];

        // Send Authy token, and return response
        return new Response($this->http->get($url, $params));
    }
public function send ( $ authyId , $ method = 'sms' , $ force = false , $ action = null , $ actionMessage = null ) : Response { // Prepare required variables $ url = $ this -> api . $ method . "/{$authyId}" ; $ params = $ this -> params + [ 'query' => [ 'force' => $ force ? 'true' : 'false' , 'action' => $ action , 'actionMessage' => $ actionMessage ] ] ; // Send Authy token, and return response return new Response ( $ this -> http -> get ( $ url , $ params ) ) ; }
Send verification token to the given Authy user.

@param int         $authyId
@param string      $method
@param bool        $force
@param string|null $action
@param string|null $actionMessage

@return \Rinvex\Authy\Response
Send verification token to the given Authy user .