private function isWhiteListedAuthRoute($routes)
    {
        foreach ($this->whitelistedAuthRoutes as $whitelistedRoute) {
            if (is_a($routes, $whitelistedRoute)) {
                return true;
            }
        }

        return false;
    }