Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / ucb / AuthenticationRequest.idl
bloba2c7188197dd4c65cb6eca0490e698f71188a655
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_ucb_AuthenticationRequest_idl__
20 #define __com_sun_star_ucb_AuthenticationRequest_idl__
22 #include <com/sun/star/task/ClassifiedInteractionRequest.idl>
26 module com { module sun { module star { module ucb {
28 /** An error specifying lack of correct authentication data (e.g., to log into
29 an account).
31 published exception AuthenticationRequest: com::sun::star::task::ClassifiedInteractionRequest
33 /** The name of the server (if applicable).
35 string ServerName;
37 /** Any diagnostic message about the failure to log in (if applicable; it
38 will typically be an English phrase or sentence).
40 string Diagnostic;
42 /** Specifies if the authentication involves a "realm" (as can be the case
43 for HTTP).
45 boolean HasRealm;
47 /** Any already specified realm.
49 If HasRealm is false, this member should be ignored.
51 string Realm;
53 /** Specifies if the authentication involves a "user name" (as is almost
54 always the case).
56 boolean HasUserName;
58 /** Any already specified user name.
60 If HasUserName is false, this member should be ignored.
62 string UserName;
64 /** Specifies if the authentication involves a "password" (as is almost
65 always the case).
67 boolean HasPassword;
69 /** Any already specified password.
71 If HasPassword is false, this member should be ignored.
73 string Password;
75 /** Specifies if the authentication involves an "account" (as can be the
76 case for FTP).
78 boolean HasAccount;
80 /** Any already specified account.
82 If HasAccount is false, this member should be ignored.
84 string Account;
89 }; }; }; };
91 #endif
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */