DEENESPTFRRUARHIKOZHNL

क्लास ara::diag::ClientAuthenticationHandle

[SWS_DM_01145] Upstream: RS_Diag_04251

class ClientAuthenticationHandle final {...};

Definition of the ClientAuthenticationHandle which is returned to the application when an AuthenticationState is set by the application.

Header-Datei#include "ara/diag/client_authentication_handle.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

उपयोगकर्ता गाइडएआई जनित

एक डायग्नोस्टिक क्लाइंट के डायनेमिक डायग्नोस्टिक अधिकारों, सत्र टाइमरों और प्रमाणीकरण के निरसन का प्रबंधन करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: ceee534cb2db उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

एक डायग्नोस्टिक क्लाइंट के डायनेमिक डायग्नोस्टिक अधिकारों, सत्र टाइमरों और प्रमाणीकरण के निरसन का प्रबंधन करता है।

वर्ग ara::diag::ClientAuthenticationHandle एप्लिकेशन द्वारा डायग्नोस्टिक क्लाइंट के सक्रिय प्रमाणीकरण सत्र को प्रबंधित करने के लिए उपयोग किया जाता है [SWS_DM_01206]। इस हैंडल के माध्यम से, एप्लिकेशन डायनेमिक एक्सेस सूचियों को कॉन्फ़िगर करता है और क्लाइंट के निष्क्रियता टाइमरों को नवीनीकृत करता है [SWS_DM_01213]। यह ऑब्जेक्ट बिना किसी कॉपी विकल्प के सख्त Move सिमेंटिक्स का पालन करता है और DiagErrc::kServiceNotAvailable के माध्यम से अनुपलब्ध डायग्नोस्टिक प्रबंधन की स्थिति में त्रुटियों की रिपोर्ट करता है। Revoke को कॉल करके, दिए गए रोल्स और अतिरिक्त अधिकारों को किसी भी समय नियंत्रित तरीके से वापस लिया जा सकता है।

संदर्भ

API वर्ग ara::diag::ClientAuthenticationHandle हेडर फ़ाइल ara/diag/client_authentication_handle.h में परिभाषित है [SWS_DM_01145]। यह एक केंद्रीय नियंत्रण ऑब्जेक्ट के रूप में कार्य करता है, जो डायग्नोस्टिक सर्वर के इंस्टेंस द्वारा डायग्नोस्टिक एप्लिकेशन को तब प्रदान किया जाता है जब कोई क्लाइंट सफलतापूर्वक प्रमाणित हो जाता है या उसके डिफ़ॉल्ट रोल्स को अस्थायी रूप से ओवरराइड कर दिया जाता है AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”।

सिस्टम स्टार्टअप पर, एक क्लाइंट डिफ़ॉल्ट रूप से पूर्व-कॉन्फ़िगर किए गए डिफ़ॉल्ट रोल्स [SWS_DM_01204] के साथ स्थिति kDeAuthenticated [SWS_DM_01205] में होता है। यदि एप्लिकेशन ara::diag::ClientAuthentication::Authenticate को कॉल करता है, तो डायग्नोस्टिक सर्वर क्लाइंट को स्थिति kAuthenticated में ले जाता है और एक ara::diag::ClientAuthenticationHandle लौटाता है [SWS_DM_01206]। इसी प्रकार, रोल्स के अस्थायी अनुकूलन के लिए ara::diag::ClientAuthentication::OverrideDefaultRoles को कॉल करते समय ऐसा हैंडल जनरेट होता है [SWS_DM_01209]। हैंडल के माध्यम से, एप्लिकेशन प्रमाणीकरण स्थिति और डायनेमिक एक्सेस सूची (DynamicAccessList) को नियंत्रित करता है, जो प्रमाणित क्लाइंट को डायग्नोस्टिक एक्सट्रैक्ट से परे डायग्नोस्टिक संसाधनों पर अतिरिक्त एक्सेस अधिकार प्रदान करती है AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”।

diag_auth_context Anwendung Anwendung ClientAuthenticationHandle ClientAuthenticationHandle Anwendung->ClientAuthenticationHandle steuert Zugriff DiagnosticServer DiagnosticServer ClientAuthenticationHandle->DiagnosticServer aktualisiert Sitzung DiagnoseClient DiagnoseClient DiagnoseClient->DiagnosticServer sendet UDS-Anfragen

संदर्भ आरेख: एप्लिकेशन, ClientAuthenticationHandle और डायग्नोस्टिक सर्वर का परस्पर प्रभाव। स्रोत: [SWS_DM_01206], [SWS_DM_01209], AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”

जीवनचक्र

ara::diag::ClientAuthenticationHandle का इंस्टैंसिएशन नियमित रूप से Authenticate [SWS_DM_01206] या OverrideDefaultRoles [SWS_DM_01209] के दौरान डायग्नोस्टिक सर्वर के फ़ैक्टरी तरीकों द्वारा किया जाता है। इसके अतिरिक्त, वर्ग एक पैरामीटर-रहित डिफ़ॉल्ट कंस्ट्रक्टर प्रदान करता है [SWS_DM_01146]; इस प्रकार बनाया गया ऑब्जेक्ट संभवतः एक अनबाउंड प्लेसहोल्डर के रूप में तब तक कार्य करता है जब तक कि उसे Move असाइनमेंट के माध्यम से एक सक्रिय हैंडल स्थानांतरित न कर दिया जाए। प्रश्न Q-74f44c072616cce9 (खुला)

स्वामित्व के संबंध में, वर्ग सख्त Move सिमेंटिक्स लागू करता है: Move कंस्ट्रक्टर [SWS_DM_01148] और Move असाइनमेंट ऑपरेटर [SWS_DM_01149] को noexcept = default के रूप में परिभाषित किया गया है। कॉपी करना पूरी तरह से प्रतिबंधित है, क्योंकि कॉपी कंस्ट्रक्टर [SWS_DM_01150] और कॉपी असाइनमेंट ऑपरेटर [SWS_DM_01151] हटाए गए (=delete) हैं। इंस्टेंस को डिस्ट्रक्टर ~ClientAuthenticationHandle() [SWS_DM_01147] के माध्यम से रिलीज़ किया जाता है।

कनकंरेंसी के संबंध में, डिफ़ॉल्ट कंस्ट्रक्टर को थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_01146]। इसके विपरीत, डिस्ट्रक्टर [SWS_DM_01147] और सभी स्थिति-परिवर्तनकारी मेथड कॉल्स गैर-थ्रेड-सुरक्षित (not thread-safe) के रूप में निर्दिष्ट हैं [SWS_DM_01152], [SWS_DM_01153], [SWS_DM_01154], [SWS_DM_01155]। इसलिए एक ही हैंडल पर समवर्ती एक्सेस के लिए एप्लिकेशन-स्तरीय सिंक्रोनाइज़ेशन की आवश्यकता होती है।

उपयोग पथ

रनटाइम पर विशिष्ट अनुक्रम में डायनेमिक अधिकारों का कॉन्फ़िगरेशन, प्राधिकरण बनाए रखना और नियंत्रित समाप्ति शामिल है:

  1. हैंडल प्राप्त करना: एप्लिकेशन ara::diag::ClientAuthentication पर प्रमाणीकरण शुरू करता है और हैंडल इंस्टेंस [SWS_DM_01206] प्राप्त करता है।
  2. एक्सेस सूची सेट करना या विस्तारित करना: मेथड Set के माध्यम से, एप्लिकेशन किसी डायग्नोस्टिक वार्तालाप की डायनेमिक एक्सेस सूची को पूरी तरह से प्रतिस्थापित करता है [SWS_DM_01153], [SWS_DM_01213]। वैकल्पिक रूप से, Append मौजूदा एक्सेस सूची में अतिरिक्त डायग्नोस्टिक पैटर्न जोड़ता है [SWS_DM_01152] AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.4 “DynamicAccessList Creation and Update”।
  3. गतिविधि नवीनीकृत करना: मानक सत्र में निष्क्रियता के मामले में, निष्क्रियता टाइमआउट समाप्त होने के बाद kDeAuthenticated [SWS_DM_01210] में स्वचालित रूप से वापस जाने का जोखिम होता है। Refresh को कॉल करके, एप्लिकेशन Authenticate या OverrideDefaultRoles द्वारा शुरू किए गए टाइमरों को बढ़ाता है [SWS_DM_01155] AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”।
  4. अनुमतियाँ रद्द करना: Revoke के साथ, एप्लिकेशन क्लाइंट को स्पष्ट रूप से डि-ऑथेंटिकेट करता है, संबंधित DynamicAccessList को हटाता है और ओवरराइड किए गए डिफ़ॉल्ट रोल्स को रीसेट करता है [SWS_DM_01154]।
ClientAuthenticationHandle के माध्यम से प्रमाणीकरण और एक्सेस नियंत्रणएप्लिकेशनClientAuthenticationClientAuthenticationHandleDiagnosticServerUse Case: प्रमाणीकरण और हैंडल प्रावधानAuthenticate(roles)स्थिति को kAuthenticated पर सेट करेंClientAuthenticationHandleUse Case: अधिकार कॉन्फ़िगरेशन और टाइमर अपडेटSet(dynamicAccessList)DynamicAccessList ersetzenResult<void>Refresh()Inaktivitaetstimer zuruecksetzenResult<void>Use Case: SitzungsbeendigungRevoke()kDeAuthenticated & Rechte loeschenResult<void>

अनुक्रम आरेख: हैंडल के माध्यम से प्रमाणीकरण, अधिकार प्रबंधन और निरसन का प्रवाह। स्रोत: [SWS_DM_01206], [SWS_DM_01153], [SWS_DM_01155], [SWS_DM_01154]

त्रुटि परिदृश्य

ऑपरेटिव मेथड्स Set [SWS_DM_01153], Append [SWS_DM_01152], Refresh [SWS_DM_01155] और Revoke [SWS_DM_01154] क्रमशः ara::core::Result<void> लौटाते हैं और noexcept के साथ-साथ अपवाद-सुरक्षित (exception safe) घोषित किए गए हैं।

यदि संचार या निष्पादन विफल हो जाता है क्योंकि Diagnostic Manager की आवश्यक कार्यक्षमताएँ वर्तमान में उपलब्ध नहीं हैं, तो कॉल्स त्रुटि कोड DiagErrc::kServiceNotAvailable [SWS_DM_01152], [SWS_DM_01153], [SWS_DM_01154], [SWS_DM_01155] लौटाते हैं। इस मामले में, रोलबैक सिमेंटिक्स प्रभावी होता है, जिससे क्लाइंट की प्रमाणीकरण स्थिति या एक्सेस सूचियों में कोई असंगत आंशिक परिवर्तन शेष न रहे।

डायग्नोस्टिक इंटरफ़ेस के AUTOSAR Adaptive R25-11 विनिर्देश पर आधारित।

सदस्य मानचित्र

कंस्ट्रक्टर और डिस्ट्रक्टर

2

ऑपरेटर

1

क्लास आरेख

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__ClientAuthenticationHandle939 ClientAuthenticationHandle + ClientAuthenticationHandle() + ~ClientAuthenticationHandle() + Append() + Refresh() + Revoke() + Set() + operator=()

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

कंस्ट्रक्टर और डिस्ट्रक्टर

ClientAuthenticationHandle फ़ंक्शन 3

Constructor of ClientAuthenticationHandle.

ओवरलोड ClientAuthenticationHandle 3
ClientAuthenticationHandle () noexcept; SWS_DM_01146
ClientAuthenticationHandle (ClientAuthenticationHandle &&other) noexcept=default; SWS_DM_01148
ClientAuthenticationHandle (ClientAuthenticationHandle const &other)=delete; SWS_DM_01150
~ClientAuthenticationHandle फ़ंक्शन

Destructor of ClientAuthenticationHandle.

मेथड

Append फ़ंक्शन

This function is used by the application to append a DynamicAccessList to the already existing DynamicAccessList of a Diagnostic Conversation.

ara::core::Result< void > Append (DiagnosticServiceDynamicAccessList dynamicAccessList) noexcept;
Refresh फ़ंक्शन

This function is used by the application to refresh the timer that was started by Authenticate or OverrideDefaultRoles. If both Methods were previously called, both timers are refreshed.

ara::core::Result< void > Refresh () noexcept;
Revoke फ़ंक्शन

This function is used by the application to de-authenticate a client, and also to clear the Dynamic AccessList and any overridden defaults.

ara::core::Result< void > Revoke () noexcept;
Set फ़ंक्शन

This function is used by the application to set/replace a DynamicAccessList of a Diagnostic Conversation.

ara::core::Result< void > Set (DiagnosticServiceDynamicAccessList dynamicAccessList) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

Move assignment operator of ClientAuthenticationHandle.

ओवरलोड = 2
auto operator= (ClientAuthenticationHandle &&other) & noexcept -> ClientAuthenticationHandle & =default; SWS_DM_01149
auto operator= (ClientAuthenticationHandle const &other) -> Client AuthenticationHandle &=delete; SWS_DM_01151

मेथड का प्रलेखन

फ़ंक्शन Append [SWS_DM_01152] Upstream: RS_Diag_04251

ara::core::Result< void > Append (DiagnosticServiceDynamicAccessList dynamicAccessList) noexcept;

This function is used by the application to append a DynamicAccessList to the already existing DynamicAccessList of a Diagnostic Conversation.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: ecc404bb2530 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::ClientAuthenticationHandle की मेथड Append का उपयोग अनुप्रयोगों द्वारा किसी सक्रिय डायग्नोस्टिक वार्तालाप की पहले से मौजूद DynamicAccessList में एक डायनेमिक एक्सेस सूची (dynamicAccessList) जोड़ने के लिए किया जाता है [SWS_DM_01152]। इंटरफ़ेस हेडर ara/diag/client_authentication_handle.h के माध्यम से प्रदान किया जाता है AUTOSAR_AP_SWS_Diagnostics §8.6.1.1.3.1 “Append”।

कॉल सिंक्रोनस रूप से निष्पादित होती है और इसे noexcept के रूप में निर्दिष्ट किया गया है [SWS_DM_01152]। इनपुट पैरामीटर के रूप में, फ़ंक्शन DiagnosticServiceDynamicAccessList स्वीकार करता है। रिटर्न प्रकार ara::core::Result<void> सफल समापन का संकेत देता है या विफलता के मामले में त्रुटि कोड DiagErrc::kServiceNotAvailable स्थानांतरित करता है [SWS_DM_01152]। उत्तरार्द्ध इंगित करता है कि Diagnostic Management के आवश्यक फ़ंक्शन वर्तमान में उपलब्ध नहीं हैं। इस त्रुटि मामले के लिए रोलबैक सेमेंटिक्स लागू होती है, जिससे कि एक्सेस सूची की पिछली स्थिति बनी रहे [SWS_DM_01152]।

कॉनकरेंसी के संदर्भ में, ऑपरेशन को अपवाद-सुरक्षित (exception safe) माना जाता है, लेकिन इसे स्पष्ट रूप से थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में वर्गीकृत किया गया है [SWS_DM_01152]। समान हैंडल ऑब्जेक्ट पर समानांतर एक्सेस के मामले में, कॉलिंग एप्लिकेशन द्वारा बाहरी सिंक्रनाइज़ेशन आवश्यक होने की संभावना है। प्रश्न Q-f0da9a0538a86a16 (खुला)

यह उपयोग नोट स्वचालित रूप से तैयार किया गया था और विशेष रूप से AUTOSAR R25-11 के विनिर्देश डेटा पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
dynamicAccessListThe DynamicAccessList to be appended in the client.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01152
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01152@rel:R25-11#9ec3bcd6
Content hash
9ec3bcd6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01152
Status: valid/unmigrated Version: rel:R25-11#760cf1a2 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01152@rel:R25-11#760cf1a2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#5fbe369d2026-09-30
  • R21-11rel:R21-11#fe6687392026-10-14
  • R22-11rel:R22-11#4d5753f62026-10-14
  • R23-11rel:R23-11#85d630192026-10-14
  • R24-11rel:R24-11#e44623a72026-10-14
  • R25-11rel:R25-11#760cf1a22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन ClientAuthenticationHandle [SWS_DM_01146] Upstream: RS_Diag_04251

ClientAuthenticationHandle () noexcept;

Constructor of ClientAuthenticationHandle.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 970d47856338 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

सिंक्रोनस डिफ़ॉल्ट कंस्ट्रक्टर [SWS_DM_01146] क्लास ara::diag::ClientAuthenticationHandle का एक इंस्टेंस बनाता है। कॉल कोई इनपुट पैरामीटर स्वीकार नहीं करता है और कोई रिटर्न मान नहीं देता है। फ़ंक्शन को noexcept के रूप में घोषित किया गया है और थ्रेड-सुरक्षित (thread-safe) तथा अपवाद-सुरक्षित के रूप में निर्दिष्ट किया गया है [SWS_DM_01146], ताकि निर्माण के दौरान कोई त्रुटि कोड या अपवाद उत्पन्न न हों।

निर्मित ऑब्जेक्ट के पासिंग और जीवन चक्र के लिए निम्नलिखित प्रतिबंध लागू होते हैं:

  • कॉपी निर्माण और कॉपी असाइनमेंट स्पष्ट रूप से हटा दिए गए हैं ([SWS_DM_01150], [SWS_DM_01151])।
  • मूव कंस्ट्रक्टर [SWS_DM_01148] और मूव असाइनमेंट ऑपरेटर [SWS_DM_01149] समर्थित हैं।
  • सभी इंस्टेंस मेथड जैसे कि Set [SWS_DM_01153], Append [SWS_DM_01152], Revoke [SWS_DM_01154] और साथ ही डिस्ट्रक्टर [SWS_DM_01147] को गैर-थ्रेड-सुरक्षित (not thread-safe) के रूप में परिभाषित किया गया है।

समग्र सिस्टम में, Diagnostic Server नियमित रूप से Authenticate [SWS_DM_01142] या OverrideDefaultRoles [SWS_DM_01141] के माध्यम से क्लाइंट से बंधे सक्रिय हैंडल प्रदान करता है (AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”)। इसलिए, डिफ़ॉल्ट कंस्ट्रक्टर के माध्यम से निर्मित एक इंस्टेंस संभवतः एक अनबाउंड प्लेसहोल्डर के रूप में कार्य करता है, जो केवल बाद के मूव असाइनमेंट [SWS_DM_01149] के माध्यम से एक्सेस सूचियों को नियंत्रित करने के लिए एक वैध हैंडल प्राप्त करता है। प्रश्न Q-ce182402bd1d4072 (खुला)

यह पाठ AUTOSAR विनिर्देश R25-11 के आधार पर एक AI द्वारा जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01146
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01146@rel:R25-11#e6227790
Content hash
e6227790
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01146
Status: valid/unmigrated Version: rel:R25-11#e53f888a Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01146@rel:R25-11#e53f888a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#343d84612026-09-30
  • R21-11rel:R21-11#382fc8b12026-10-14
  • R22-11rel:R22-11#1b1476a42026-10-14
  • R23-11rel:R23-11#ae2414252026-10-14
  • R24-11rel:R24-11#2fa9197f2026-10-14
  • R25-11rel:R25-11#e53f888a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन ClientAuthenticationHandle [SWS_DM_01148] Upstream: RS_Diag_04251

ClientAuthenticationHandle (ClientAuthenticationHandle &&other) noexcept=default;

Move constructor of ClientAuthenticationHandle.

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-construct from

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01148
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01148@rel:R25-11#26815856
Content hash
26815856
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01148
Status: valid/unmigrated Version: rel:R25-11#61fab40f Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01148@rel:R25-11#61fab40f
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#398da6ac2026-09-30
  • R21-11rel:R21-11#4ded0cd12026-10-14
  • R22-11rel:R22-11#6906c58f2026-10-14
  • R23-11rel:R23-11#9b4b55cb2026-10-14
  • R24-11rel:R24-11#ce30ca042026-10-14
  • R25-11rel:R25-11#61fab40f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन ClientAuthenticationHandle [SWS_DM_01150] Upstream: RS_Diag_04251

ClientAuthenticationHandle (ClientAuthenticationHandle const &other)=delete;

Copy constructor of ClientAuthenticationHandle cannot be used.

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01150
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01150@rel:R25-11#1b8246e6
Content hash
1b8246e6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01150
Status: valid/unmigrated Version: rel:R25-11#5c00c5f2 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01150@rel:R25-11#5c00c5f2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#b2ba2b412026-09-30
  • R21-11rel:R21-11#be3428ad2026-10-14
  • R22-11rel:R22-11#7ad065b42026-10-14
  • R23-11rel:R23-11#f8cce9ac2026-10-14
  • R24-11rel:R24-11#5c00c5f22026-10-14
  • R25-11rel:R25-11#5c00c5f22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन Refresh [SWS_DM_01155] Upstream: RS_Diag_04251

ara::core::Result< void > Refresh () noexcept;

This function is used by the application to refresh the timer that was started by Authenticate or OverrideDefaultRoles. If both Methods were previously called, both timers are refreshed.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 8c9744884d32 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::ClientAuthenticationHandle (हेडर फ़ाइल #include "ara/diag/client_authentication_handle.h") की विधि Refresh सक्रिय प्रमाणीकरण या भूमिका टाइमर को विस्तारित करने के लिए एक एप्लिकेशन की सेवा करती है (AUTOSAR_AP_SWS_Diagnostics §8.6.1.1.3.2 “Refresh”)। यह उस टाइमर को रीसेट करती है जिसे पहले Authenticate या OverrideDefaultRoles द्वारा शुरू किया गया था। यदि दोनों विधियों को पहले कॉल किया गया था, तो कॉल दोनों टाइमर को एक साथ नवीनीकृत करती है [SWS_DM_01155]।

समकालिक कॉल (व्याख्या: अतुल्यकालिक Future के बिना प्रत्यक्ष रिटर्न) ClientAuthenticationHandle के एक मौजूदा इंस्टेंस पर पैरामीटर रहित होती है, जिसे एप्लिकेशन ने Diagnostic Server से Authenticate या OverrideDefaultRoles के सफल समापन के बाद प्राप्त किया था (AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”)। प्रश्न Q-b07e81ff4629ada7 (खुला) फ़ंक्शन को noexcept घोषित किया गया है और अपवाद-सुरक्षित (exception safe) है, लेकिन गैर-थ्रेड-सुरक्षित (not thread-safe) निर्दिष्ट किया गया है [SWS_DM_01155]। इसलिए उसी इंस्टेंस पर समवर्ती कॉलों को कॉल करने वाले द्वारा सिंक्रनाइज़ किया जाना चाहिए।

यदि ऑपरेशन विफल रहता है, तो फ़ंक्शन ara::core::Result<void> के माध्यम से त्रुटि कोड DiagErrc::kServiceNotAvailable लौटाता है [SWS_DM_01155]। यह रोलबैक सेमेंटिक्स के माध्यम से इंगित करता है कि कॉल निष्पादित नहीं की जा सकी क्योंकि Diagnostic Management (DM) की आवश्यक कार्यक्षमताएं वर्तमान में उपलब्ध नहीं हैं [SWS_DM_01155]।

यह उपयोग संबंधी निर्देश AUTOSAR R25-11 विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01155
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01155@rel:R25-11#c284d741
Content hash
c284d741
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01155
Status: valid/unmigrated Version: rel:R25-11#336ea0d5 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01155@rel:R25-11#336ea0d5
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#b5659ac02026-09-30
  • R21-11rel:R21-11#f05c61ca2026-10-14
  • R22-11rel:R22-11#2739c0e72026-10-14
  • R23-11rel:R23-11#ebcd83152026-10-14
  • R24-11rel:R24-11#aa896f602026-10-14
  • R25-11rel:R25-11#336ea0d52026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन Revoke [SWS_DM_01154] Upstream: RS_Diag_04251

ara::core::Result< void > Revoke () noexcept;

This function is used by the application to de-authenticate a client, and also to clear the Dynamic AccessList and any overridden defaults.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 97421a5ce76e उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::ClientAuthenticationHandle (SWS Diagnostics §8.6.1.1.3.3 “Revoke”) की सिंक्रोनस मेथड Revoke का उपयोग अनुप्रयोगों द्वारा पहले से प्रमाणित डायग्नोस्टिक क्लाइंट को डी-ऑथेंटिकेट करने तथा उसकी डायनेमिक एक्सेस सूची (DynamicAccessList) और ओवरराइड की गई डिफ़ॉल्ट भूमिकाओं को पूरी तरह से त्यागने के लिए किया जाता है ([SWS_DM_01154], [SWS_DM_01216])।

फ़ंक्शन में कोई इनपुट पैरामीटर नहीं है और यह एक ara::core::Result<void> लौटाता है ([SWS_DM_01154])। सफलता की स्थिति में, क्लाइंट की प्रमाणीकरण स्थिति समाप्त हो जाती है। यदि कॉल के समय Diagnostic Manager की कोई अनिवार्य कार्यक्षमता उपलब्ध नहीं है, तो ऑपरेशन विफल हो जाता है और रोलबैक सेमेंटिक्स के साथ त्रुटि DiagErrc::kServiceNotAvailable लौटाता है ([SWS_DM_01154])।

कॉनकरेंसी के संबंध में, इंटरफ़ेस को अपवाद-सुरक्षित (exception safe), लेकिन थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में निर्दिष्ट किया गया है ([SWS_DM_01154])। Interpretation: कई थ्रेड्स से समान हैंडल इंस्टेंस पर समवर्ती एक्सेस के मामले में, कॉलिंग एप्लिकेशन को इसलिए बाहरी सिंक्रनाइज़ेशन सुनिश्चित करना पड़ सकता है। प्रश्न Q-8781261c9a2f5f8e (खुला)

समग्र वर्कफ़्लो में, ClientAuthenticationHandle का इंस्टेंस सफल प्रमाणीकरण के बाद या डायग्नोस्टिक सर्वर इंस्टेंस द्वारा डिफ़ॉल्ट भूमिकाओं को ओवरराइड करने के बाद एप्लिकेशन को प्रदान किया जाता है (SWS Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”)। जबकि सक्रिय हैंडल निरस्तीकरण के अलावा DynamicAccessList को बदलने ([SWS_DM_01213]) या विस्तारित करने ([SWS_DM_01215]) की अनुमति भी देता है, Revoke क्लाइंट के इन अधिकारों को अंतिम रूप से समाप्त कर देता है।

यह पाठ AUTOSAR Adaptive R25-11 विनिर्देश के आधार पर एक AI द्वारा तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01154
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01154@rel:R25-11#4c9dbbc3
Content hash
4c9dbbc3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01154
Status: valid/unmigrated Version: rel:R25-11#d654e83e Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01154@rel:R25-11#d654e83e
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#0fc0c68f2026-09-30
  • R21-11rel:R21-11#341b16582026-10-14
  • R22-11rel:R22-11#b81da6112026-10-14
  • R23-11rel:R23-11#4f5f61352026-10-14
  • R24-11rel:R24-11#6d88b2f82026-10-14
  • R25-11rel:R25-11#d654e83e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन Set [SWS_DM_01153] Upstream: RS_Diag_04251

ara::core::Result< void > Set (DiagnosticServiceDynamicAccessList dynamicAccessList) noexcept;

This function is used by the application to set/replace a DynamicAccessList of a Diagnostic Conversation.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 8ef0a8bd09d8 उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::ClientAuthenticationHandle ([SWS_DM_01153]) की सिंक्रोनस मेथड Set का उपयोग किसी एप्लिकेशन द्वारा डायग्नोस्टिक सर्वर में किसी डायग्नोस्टिक वार्तालाप या प्रमाणित क्लाइंट के लिए डायनेमिक एक्सेस सूची (DynamicAccessList) को सेट करने या पूरी तरह से बदलने के लिए किया जाता है ([SWS_DM_01213])। Diagnostic Manager प्रत्येक प्रमाणित क्लाइंट के लिए ऐसी DynamicAccessList रखता है, जो Diagnostic Extract में संग्रहीत कॉन्फ़िगरेशन से परे क्लाइंट को डायग्नोस्टिक संसाधनों पर अतिरिक्त एक्सेस अधिकार प्रदान कर सकती है (AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”)।

उपयोग करते समय निम्नलिखित पहलू निर्णायक हैं:

  • कॉल संदर्भ और पैरामीटर: फ़ंक्शन को ara::diag::ClientAuthenticationHandle के एक इंस्टेंस पर कॉल किया जाता है (#include "ara/diag/client_authentication_handle.h" में घोषित)। ऐसा हैंडल इंस्टेंस एप्लिकेशन को तब उपलब्ध कराया जाता है जब पहले या तो ara::diag::ClientAuthentication::Authenticate ([SWS_DM_01206]) या ara::diag::ClientAuthentication::OverrideDefaultRoles ([SWS_DM_01209]) सफलतापूर्वक पूरा हो चुका हो। एकमात्र इनपुट पैरामीटर के रूप में, प्रकार DiagnosticServiceDynamicAccessList का dynamicAccessList पास किया जाता है, जो नई एक्सेस सूची को परिभाषित करता है ([SWS_DM_01153])।
  • रिटर्न मान और त्रुटि प्रबंधन: मेथड को noexcept के रूप में निर्दिष्ट किया गया है और यह ara::core::Result<void> लौटाती है। यह रोलबैक सेमेंटिक्स के साथ कार्य करती है: यदि कॉल निष्पादित नहीं की जा सकती क्योंकि अनिवार्य DM कार्यक्षमता वर्तमान में उपलब्ध नहीं है, तो कॉल त्रुटि कोड DiagErrc::kServiceNotAvailable के साथ विफल हो जाती है ([SWS_DM_01153])। अपवाद प्रबंधन के संबंध में, मेथड को अपवाद-सुरक्षित (exception safe) के रूप में वर्गीकृत किया गया है।
  • कॉनकरेंसी: ऑपरेशन को स्पष्ट रूप से थ्रेड-सुरक्षित नहीं (not thread-safe) के रूप में परिभाषित किया गया है ([SWS_DM_01153])। यदि एक ही हैंडल इंस्टेंस पर कई थ्रेड्स से समवर्ती रूप से कॉल की जाती हैं, तो आवश्यक सिंक्रनाइज़ेशन एप्लिकेशन का उत्तरदायित्व है।

यह उपयोग नोट AUTOSAR विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
dynamicAccessListThe new DynamicAccessList to be set in the client.

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01153
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01153@rel:R25-11#0188f478
Content hash
0188f478
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01153
Status: valid/unmigrated Version: rel:R25-11#6e0f3d93 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01153@rel:R25-11#6e0f3d93
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#850c01d82026-09-30
  • R21-11rel:R21-11#4dff11b12026-10-14
  • R22-11rel:R22-11#5a0f43622026-10-14
  • R23-11rel:R23-11#768f7ce22026-10-14
  • R24-11rel:R24-11#bac10bed2026-10-14
  • R25-11rel:R25-11#6e0f3d932026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_DM_01149] Upstream: RS_Diag_04251

auto operator= (ClientAuthenticationHandle &&other) & noexcept -> ClientAuthenticationHandle & =default;

Move assignment operator of ClientAuthenticationHandle.

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-assign from.

Rückgabewert

TypBeschreibung
ClientAuthenticationHandleClientAuthenticationHandle& Reference to self.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01149
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01149@rel:R25-11#d8f5ef1e
Content hash
d8f5ef1e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01149
Status: valid/unmigrated Version: rel:R25-11#6d429c60 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01149@rel:R25-11#6d429c60
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#825bafd02026-09-30
  • R21-11rel:R21-11#6b6602162026-10-14
  • R22-11rel:R22-11#7c114d032026-10-14
  • R23-11rel:R23-11#f26ac2222026-10-14
  • R24-11rel:R24-11#13552b832026-10-14
  • R25-11rel:R25-11#6d429c602026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन operator= [SWS_DM_01151] Upstream: RS_Diag_04251

auto operator= (ClientAuthenticationHandle const &other) -> Client AuthenticationHandle &=delete;

Copy assignment operator of CancellationHandler cannot be used.

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01151
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01151@rel:R25-11#fdef0728
Content hash
fdef0728
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01151
Status: valid/unmigrated Version: rel:R25-11#41e0cc7a Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01151@rel:R25-11#41e0cc7a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#e7f217352026-09-30
  • R21-11rel:R21-11#e234b1652026-10-14
  • R22-11rel:R22-11#8556e28c2026-10-14
  • R23-11rel:R23-11#114f1c5c2026-10-14
  • R24-11rel:R24-11#41e0cc7a2026-10-14
  • R25-11rel:R25-11#41e0cc7a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

फ़ंक्शन ~ClientAuthenticationHandle [SWS_DM_01147] Upstream: RS_Diag_04251

~ClientAuthenticationHandle () noexcept;

Destructor of ClientAuthenticationHandle.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 284dd06f8411 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग और सिमेंटिक्स

फ़ंक्शन ~ClientAuthenticationHandle() क्लास ara::diag::ClientAuthenticationHandle का डिस्ट्रक्टर है और हेडर फ़ाइल ara/diag/client_authentication_handle.h के माध्यम से घोषित किया जाता है ([SWS_DM_01147], AUTOSAR_AP_SWS_Diagnostics §8.6.1.1.1.3 “Destructor”)। यह कोई इनपुट पैरामीटर नहीं लेता है और कोई रिटर्न मान नहीं देता है। कॉल आमतौर पर ऑब्जेक्ट के लाइफ़टाइम के अंत में अंतर्निहित रूप से की जाती है। Interpretation: इस दौरान हैंडल द्वारा आंतरिक रूप से बंधे क्लाइंट प्रमाणीकरण के सभी संसाधन मुक्त किए जाने की संभावना है। प्रश्न Q-ea8f47232fd9951f (खुला)

त्रुटि प्रबंधन और अपवाद सुरक्षा

डिस्ट्रक्टर को noexcept के रूप में घोषित किया गया है और स्पष्ट रूप से exception safe के रूप में निर्दिष्ट किया गया है ([SWS_DM_01147])। परिणामस्वरूप ऑब्जेक्ट के विनाश के दौरान कोई C++ अपवाद उत्पन्न नहीं होते हैं और कोई विशिष्ट त्रुटि कोड रिपोर्ट नहीं किए जाते हैं, जिससे यह सुनिश्चित होता है कि क्लीनअप प्रक्रिया त्रुटि रहित समाप्त हो।

समवर्तीता और प्रतिबंध

ClientAuthenticationHandle का विनाश विनिर्देश के अनुसार not thread-safe के रूप में वर्गीकृत किया गया है ([SWS_DM_01147])। कॉलिंग एप्लिकेशन को यह सुनिश्चित करना होगा कि जब डिस्ट्रक्टर निष्पादित हो रहा हो, तब कोई अन्य थ्रेड समान इंस्टेंस को समानांतर में एक्सेस न करे।

यह पाठ AUTOSAR Adaptive R25-11 विनिर्देश के आधार पर एक AI द्वारा तैयार किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/client_authentication_handle.h"
Scopeclass ara::diag::ClientAuthenticationHandle
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01147
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01147@rel:R25-11#70d39e24
Content hash
70d39e24
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01147
Status: valid/unmigrated Version: rel:R25-11#b9cd7178 Versionshistorie & Revisions (1 transition, 6 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01147@rel:R25-11#b9cd7178
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#f9cc0a482026-09-30
  • R21-11rel:R21-11#3b91d66c2026-10-14
  • R22-11rel:R22-11#cca9279f2026-10-14
  • R23-11rel:R23-11#4de7c36f2026-10-14
  • R24-11rel:R24-11#0092ff1b2026-10-14
  • R25-11rel:R25-11#b9cd71782026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill