bump product version to 4.1.6.2
[LibreOffice.git] / ucb / source / ucp / cmis / auth_provider.hxx
blobc7a57dfdfe7452b49aac56765cb027d1e23004ab
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef AUTH_PROVIDER_HXX
10 #define AUTH_PROVIDER_HXX
12 #include <libcmis/session.hxx>
14 #include <com/sun/star/ucb/XCommandEnvironment.hpp>
16 namespace cmis
18 class AuthProvider : public libcmis::AuthProvider
20 const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment>& m_xEnv;
21 OUString m_sUrl;
22 OUString m_sBindingUrl;
24 public:
25 AuthProvider ( const com::sun::star::uno::Reference<
26 com::sun::star::ucb::XCommandEnvironment>& xEnv,
27 OUString sUrl,
28 OUString sBindingUrl ):
29 m_xEnv( xEnv ), m_sUrl( sUrl ), m_sBindingUrl( sBindingUrl ) { }
31 bool authenticationQuery( std::string& username, std::string& password );
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */