public function getAuthKeyByVar($property)
    {
        if (!($key = array_search($property, $this->authKeyMap))) {
            $msg = 'Invalid Auth property requested: ' . $property;
            throw new ApiException($msg);
        }

        return $key;
    }
public function getAuthKeyByVar($property)
    {
        if (!($key = array_search($property, $this->authKeyMap))) {
            $msg = 'Invalid Auth property requested: ' . $property;
            throw new ApiException($msg);
        }

        return $key;
    }
public function getAuthKeyByVar ( $ property ) { if ( ! ( $ key = array_search ( $ property , $ this -> authKeyMap ) ) ) { $ msg = 'Invalid Auth property requested: ' . $ property ; throw new ApiException ( $ msg ) ; } return $ key ; }
Get an authentication key by variable name.

@param string $property The property/variable name.

@return string The authentication key.

@throws MyAllocator\phpsdk\src\Exception\ApiException
Get an authentication key by variable name .