1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_ucb_XInteractionSupplyAuthentication2_idl__ 24#define __com_sun_star_ucb_XInteractionSupplyAuthentication2_idl__ 25 26#ifndef __com_sun_star_ucb_XInteractionSupplyAuthentication_idl__ 27#include <com/sun/star/ucb/XInteractionSupplyAuthentication.idl> 28#endif 29 30 31 32//============================================================================= 33 34module com { module sun { module star { module ucb { 35 36//============================================================================= 37/** An interaction continuation handing back some authentication data. 38 39 <p> This continuation is typically used in conjunction with 40 <type>AuthenticationRequest</type>. </p> 41 42 @since OpenOffice 3.2 43*/ 44published interface XInteractionSupplyAuthentication2 : XInteractionSupplyAuthentication 45{ 46 //------------------------------------------------------------------------- 47 /** Specifies if 'system credentials' can be obtained and used by the issuer 48 of the authentiction request. 49 50 @param Default 51 Returns the default behavior for system credentials handling (to be 52 initially displayed to the user). 53 54 @returns 55 <true/> if the issuer is able to obtain and use system credentials. 56 <false/> otherwise. 57 */ 58 boolean canUseSystemCredentials( [out] boolean Default ); 59 60 //------------------------------------------------------------------------- 61 /** Set a new 'use system credentials' value to hand back. 62 63 @param UseSystemCredentials 64 <true/> means the request issuer shall obtain and use system credentials. 65 */ 66 void setUseSystemCredentials( [in] boolean UseSystemCredentials ); 67 68}; 69 70//============================================================================= 71 72}; }; }; }; 73 74#endif 75