2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.velux.internal.bridge.common;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * Specific bridge communication message supported by the Velux bridge.
20 * Message semantic: Communication to authenticate itself, resulting in a return of current bridge state.
22 * In addition to the common methods defined by {@link BridgeCommunicationProtocol}
23 * each protocol-specific implementation has to provide the following methods:
25 * <LI>{@link #setPassword} for defining the intended authentication value.
28 * @see BridgeCommunicationProtocol
30 * @author Guenther Schreiner - Initial contribution.
33 public abstract class Login implements BridgeCommunicationProtocol {
36 * Sets the intended password string to be used for authentication
38 * @param thisPassword Password passed as String.
40 public void setPassword(String thisPassword) {
44 * Returns the authentication information optionally to be used for later following
47 * @return <b>authentication token</b> as String which can be used for next operations.
49 public String getAuthToken() {