tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / auth / XSSOInitiatorContext.idl
blobb0536b6667590d6c9ad7b0ed6d2513630f467c61
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 .
20 module com { module sun { module star { module auth {
22 /** represents an initiator side security context.
23 <P>This context may be used to initialize authentication tokens to send to
24 an acceptor and to authenticate any token sent back in response.
26 @since OOo 1.1.2
28 published interface XSSOInitiatorContext : ::com::sun::star::auth::XSSOContext
30 /** initializes an SSO Token to send to the acceptor side and
31 authenticates an SSO Token returned by the acceptor if the
32 context supports mutual authentication.
33 <P>
34 init should be called only once for contexts which don't support
35 mutual authentication and at most twice for contexts which do
36 support mutual authentication. Additional calls produce undefined
37 results.
39 @param Token
40 the SSO token received from the acceptor side in response to an
41 authentication request. This token is ignored on the first call
42 to init and should only be specified for the second call on a
43 context supporting mutual authentication.
45 @returns
46 the sequence of bytes to be sent to the acceptor side as part of
47 an authentication request. This sequence will be non zero length
48 for the first call to init, zero length for the second call to init
49 on a context supporting mutual authentication and undefined in all
50 other cases.
52 sequence< byte > init( [in] sequence< byte > Token )
53 raises( InvalidArgumentException,
54 InvalidCredentialException,
55 InvalidContextException,
56 AuthenticationFailedException );
59 }; }; }; };
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */