// // Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_MYSQL_IMPL_INTERNAL_AUTH_AUTH_HPP #define BOOST_MYSQL_IMPL_INTERNAL_AUTH_AUTH_HPP #include #include #include #include #include namespace boost { namespace mysql { namespace detail { struct auth_response { std::vector data; string_view plugin_name; }; BOOST_ATTRIBUTE_NODISCARD BOOST_MYSQL_DECL error_code compute_auth_response( string_view plugin_name, string_view password, span challenge, bool secure_channel, auth_response& output ); } // namespace detail } // namespace mysql } // namespace boost #ifdef BOOST_MYSQL_HEADER_ONLY #include #endif #endif