src/Login.php
protected function createAuthNode()
  {
      $data = $this->createAuthBlob();
      $attributes = [
          'user'      => $this->phoneNumber,
          'mechanism' => 'WAUTH-2',

      ];
      $node = new ProtocolNode('auth', $attributes, null, $data);

      return $node;
  }
protected function createAuthNode()
  {
      $data = $this->createAuthBlob();
      $attributes = [
          'user'      => $this->phoneNumber,
          'mechanism' => 'WAUTH-2',

      ];
      $node = new ProtocolNode('auth', $attributes, null, $data);

      return $node;
  }
protected function createAuthNode ( ) { $ data = $ this -> createAuthBlob ( ) ; $ attributes = [ 'user' => $ this -> phoneNumber , 'mechanism' => 'WAUTH-2' , ] ; $ node = new ProtocolNode ( 'auth' , $ attributes , null , $ data ) ; return $ node ; }
Add the authentication nodes.

@return ProtocolNode Returns an authentication node.
Add the authentication nodes .