이 페이지에서

AuthenticationInformation QML Type

OPC UA 인증 정보. 더 보기...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13
Status: Deprecated since 6.9

이 유형은 QtOpcUa 6.9부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

메서드

상세 설명

이 클래스는 서버에서 로그인을 수행하는 데 필요한 정보를 포함합니다.

var authInfo = connection.authenticationInformation;
authInfo.setUsernameAuthentication("user1", "password");
connection.authenticationInformation = authInfo;

현재 지원되는 인증 방법은 다음과 같습니다:

  • 익명
  • 사용자 이름
  • 인증서

setAnonymousAuthentication() 및 setUsernameAuthentication()도 참조하십시오 .

방법 설명서

void setAnonymousAuthentication()

인증 방식을 ‘익명’으로 설정합니다.

void setUsernameAuthentication(string username, string password)

지정된 username 및 password 을 사용하여 인증 방식을 ‘사용자 이름’으로 설정합니다.

© 2026 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.