AuthenticationInformation QML Type
Die OPC UA Authentifizierungsinformationen. Mehr...
Import Statement: | import QtOpcUa |
Since: | QtOpcUa 5.13 |
Methoden
- setAnonymousAuthentication()
- setUsernameAuthentication(string username, string password)
Detaillierte Beschreibung
Diese Klasse enthält die Informationen, die notwendig sind, um eine Anmeldung an einem Server durchzuführen.
var authInfo = connection.authenticationInformation; authInfo.setUsernameAuthentication("user1", "password"); connection.authenticationInformation = authInfo;
Derzeit unterstützte Authentifizierungsmethoden sind:
- Anonym
- Benutzerdefiniert
- Zertifikat
Siehe auch setAnonymousAuthentication() und setUsernameAuthentication().
Methode Dokumentation
setAnonymousAuthentication() |
Setzt die Authentifizierungsmethode auf anonymous.
Setzt die Authentifizierungsmethode auf username, unter Verwendung der angegebenen username und password.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.