AuthenticationInformation QML Type
OPC UAの認証情報。詳細...
Import Statement: | import QtOpcUa |
Since: | QtOpcUa 5.13 |
メソッド
- setAnonymousAuthentication()
- setUsernameAuthentication(string username, string password)
詳細説明
このクラスは、サーバへのログインに必要な情報を保持します。
var authInfo = connection.authenticationInformation; authInfo.setUsernameAuthentication("user1", "password"); connection.authenticationInformation = authInfo;
現在サポートされている認証方式は以下のとおりです:
- 匿名
- ユーザ名
- 証明書
setAnonymousAuthentication() およびsetUsernameAuthentication()も参照 ください。
メソッドの説明
setAnonymousAuthentication() |
認証方法を anonymous に設定します。
指定したusername および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.