DEENESPTFRRUARHIKOZHNL

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

[SWS_DM_01132] Upstream: RS_Diag_04251

class ClientAuthentication final {...};

Interface for the application to inform the Diagnostic Server instance about the authentication states and the user roles that are currently authenticated.

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

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

अनुप्रयोग द्वारा Diagnostic Server को प्रमाणीकरण स्थितियों और सक्रिय उपयोगकर्ता भूमिकाओं की रिपोर्ट करने के लिए कार्य करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 426d68eb26e1 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

अनुप्रयोग द्वारा Diagnostic Server को प्रमाणीकरण स्थितियों और सक्रिय उपयोगकर्ता भूमिकाओं की रिपोर्ट करने के लिए कार्य करता है।

इंटरफ़ेस अनुप्रयोग को एक डायग्नोस्टिक क्लाइंट की प्रमाणीकरण स्थिति और सक्रिय उपयोगकर्ता भूमिकाओं के बारे में Diagnostic Server को सूचित करने में सक्षम बनाता है [SWS_DM_01132]। Authenticate या OverrideDefaultRoles जैसे कॉल्स के माध्यम से स्थिति परिवर्तनों को नियंत्रित किया जाता है और गतिशील एक्सेस सूचियों के प्रबंधन के लिए हैंडल प्रदान किए जाते हैं [SWS_DM_01206]। टाइमआउट के परिणामस्वरूप होने वाले स्थिति परिवर्तनों की अतुल्यकालिक रूप से एक नोटिफ़ायर के माध्यम से निगरानी की जा सकती है। चूंकि क्लास थ्रेड-सुरक्षित नहीं है और प्रतियों की अनुमति नहीं देती है, इसलिए अनुप्रयोग के भीतर पहुंच को सिंक्रनाइज़ किया जाना चाहिए।

संदर्भ

क्लास ara::diag::ClientAuthentication अनुप्रयोग के लिए Diagnostic Server के इंस्टेंस को प्रमाणीकरण स्थितियों और वर्तमान में प्रमाणित उपयोगकर्ता भूमिकाओं के बारे में सूचित करने हेतु एक केंद्रीय इंटरफ़ेस के रूप में कार्य करती है [SWS_DM_01132], SWS Diagnostics, पृ. 129। इस परस्पर क्रिया में तीन प्रमुख पक्ष शामिल हैं:

  • अनुप्रयोग (Application): प्रमाणीकरण जांच करता है - या तो Diagnostic Server के इंटरफ़ेस का उपयोग करके या अनुप्रयोग के स्वयं के तंत्र के माध्यम से - और उपयोगकर्ता भूमिकाओं को Diagnostic Server तक पहुंचाता है [SWS_DM_01142]।
  • Diagnostic Server / Diagnostic Manager: डायग्नोस्टिक सत्रों का प्रबंधन करता है और भूमिकाओं तथा प्रमाणीकरण स्थिति के आधार पर डायग्नोस्टिक संसाधनों पर पहुंच अधिकार लागू करता है [SWS_DM_01206]।
  • डायग्नोस्टिक क्लाइंट: एक बाहरी टेस्टर या SOVD क्लाइंट जो नियंत्रण इकाई (ECU) को डायग्नोस्टिक अनुरोध भेजता है [SWS_DM_01210], [SWS_DM_01470]।

ClientAuthentication के इंस्टेंस की संख्या मॉडल तत्व DiagnosticExternalAuthenticationIdentification द्वारा निर्धारित की जाती है SWS Diagnostics, पृ. 129। यह तत्व एक निश्चित स्रोत पते वाले क्लाइंट के लिए या एक पता सीमा के माध्यम से प्रमाणीकरण कॉन्फ़िगर करने की अनुमति देता है, यदि संकलन समय पर अंतिम स्रोत पता अभी तक ज्ञात नहीं है SWS Diagnostics, पृ. 129। Interpretation: डायग्नोस्टिक क्लाइंट्स का ClientAuthentication के ठोस इंस्टेंस से असाइनमेंट रनटाइम पर इन स्रोत पता श्रेणियों के आधार पर होता है। SOVD क्लाइंट्स के मामले में, Diagnostic Server ara::diag::SovdAuthorization::ValidateAuthorization के माध्यम से प्राधिकरण टोकन के सत्यापन के दौरान सीधे अनुप्रयोग को एक ClientAuthentication ऑब्जेक्ट सौंपता है [SWS_DM_01470]। प्रश्न Q-6cc7e791e678def2 (खुला)

Application Application ClientAuthentication ClientAuthentication Application->ClientAuthentication Get / Authenticate DiagnosticServer DiagnosticServer ClientAuthentication->DiagnosticServer Zustandsmeldung DiagnosticClient DiagnosticClient DiagnosticClient->DiagnosticServer Diagnoseanfrage

संदर्भ आरेख: प्रमाणीकरण इंटरफ़ेस के इंटरैक्शन भागीदार। स्रोत: [SWS_DM_01132], [SWS_DM_01202], [SWS_DM_01470], SWS Diagnostics, पृ. 129

जीवनचक्र

अनुप्रयोग को ara::diag::ExternalAuthentication::Get [SWS_DM_01202] के ओवरलोड किए गए तरीकों के माध्यम से या SOVD टोकन सत्यापन [SWS_DM_01470] के संदर्भ में ClientAuthentication का एक इंस्टेंस प्राप्त होता है। क्लास में सख्त स्वामित्व सेमांटिक्स हैं: कॉपी कंस्ट्रक्टर [SWS_DM_01139] और कॉपी असाइनमेंट ऑपरेटर [SWS_DM_01140] हटा दिए गए हैं (=delete)। मूव ऑपरेशन (मूव कंस्ट्रक्टर [SWS_DM_01137] और मूव असाइनमेंट ऑपरेटर [SWS_DM_01138]) डिफ़ॉल्ट के रूप में पूर्वनिर्धारित हैं और noexcept के रूप में घोषित हैं। डिस्ट्रक्टर भी noexcept [SWS_DM_01136] है। सभी सदस्य फ़ंक्शन और साथ ही डिस्ट्रक्टर थ्रेड-सुरक्षित नहीं हैं (not thread-safe) [SWS_DM_01136], [SWS_DM_01141], [SWS_DM_01142], [SWS_DM_01143], [SWS_DM_01144]।

प्रमाणीकरण स्थिति को इनमिरेशन प्रकार DiagnosticAuthState के माध्यम से मैप किया जाता है [SWS_DM_01133]:

  • kDeAuthenticated (0x00): कोई भी डायग्नोस्टिक क्लाइंट प्रमाणित नहीं है। सिस्टम स्टार्टअप पर क्लाइंट डिफ़ॉल्ट रूप से इस स्थिति में होता है [SWS_DM_01205]। यहां, वे भूमिकाएं (DiagnosticAuthRole) डिफ़ॉल्ट भूमिकाएं मानी जाती हैं, जिनका विशेषता isDefault TRUE पर कॉन्फ़िगर किया गया है [SWS_DM_01204], [SWS_DM_01134]। OverrideDefaultRoles के माध्यम से इन डिफ़ॉल्ट भूमिकाओं को एक निर्दिष्ट टाइमआउट के लिए अस्थायी रूप से अधिलेखित किया जा सकता है [SWS_DM_01141], [SWS_DM_01209]।
  • kAuthenticated (0x01): एक डायग्नोस्टिक क्लाइंट प्रमाणित है। यह स्थिति Authenticate को कॉल करके प्राप्त की जाती है, जो Diagnostic Server में पास की गई उपयोगकर्ता भूमिकाओं को सक्रिय करती है [SWS_DM_01142], [SWS_DM_01206]।

kAuthenticated से वापस kDeAuthenticated में एक स्वचालित स्थिति संक्रमण तब ट्रिगर होता है जब मानक सत्र में कोई क्लाइंट अंतिम प्रसारण पुष्टि (TransmitConfirmation) के बाद कोई और अनुरोध नहीं भेजता है और निष्क्रियता समय समाप्त हो जाता है [SWS_DM_01210], या जब S3 टाइमआउट होता है [SWS_DM_01144], [SWS_DM_02077]।

kDeAuthenticated kDeAuthenticated kDeAuthenticated->kDeAuthenticated OverrideDefaultRoles() kAuthenticated kAuthenticated kDeAuthenticated->kAuthenticated Authenticate() kAuthenticated->kDeAuthenticated Inaktivitaet / S3-Timeout

स्थिति आरेख: क्लाइंट प्रमाणीकरण का जीवनचक्र और स्थिति संक्रमण। स्रोत: [SWS_DM_01133], [SWS_DM_01204], [SWS_DM_01205], [SWS_DM_01206], [SWS_DM_01209], [SWS_DM_01210]

उपयोग पथ

क्लाइंट प्रमाणीकरण के प्रबंधन की नियमित प्रक्रिया में निम्नलिखित चरण शामिल हैं:

  1. नोटिफ़ायर पंजीकृत करें: अनुप्रयोग SetNotifier के साथ प्रकार ClientAuthenticationSetNotifier (std::function<void(DiagnosticAuthState)>) [SWS_DM_01144], [SWS_DM_02077] का एक कॉलबैक फ़ंक्शन पंजीकृत करता है। इसके माध्यम से इसे सूचित किया जाता है जब स्थिति परिवर्तन - उदाहरण के लिए निष्क्रियता या S3 टाइमआउट के कारण kDeAuthenticated में संक्रमण - होते हैं [SWS_DM_01144]। एक नया कॉल पहले सेट किए गए नोटिफ़ायर को अधिलेखित कर देता है [SWS_DM_01144]।
  2. स्थिति क्वेरी करें: विधि GetState() के माध्यम से, अनुप्रयोग क्लाइंट की वर्तमान प्रमाणीकरण स्थिति को तुल्यकालिक रूप से क्वेरी कर सकता है [SWS_DM_01143]।
  3. प्रमाणीकरण की रिपोर्ट करें: जैसे ही प्रमाणीकरण सफलतापूर्वक पूरा हो जाता है, अनुप्रयोग सक्रिय की जाने वाली उपयोगकर्ता भूमिकाओं (ara::core::Vector<DiagnosticAuthRole>) के साथ Authenticate को कॉल करता है [SWS_DM_01142], [SWS_DM_01134]। Diagnostic Server स्थिति को kAuthenticated पर सेट करता है और एक ClientAuthenticationHandle लौटाता है [SWS_DM_01206]।
  4. एक्सेस राइट्स प्रबंधित करना: प्राप्त ClientAuthenticationHandle के माध्यम से एप्लिकेशन क्लाइंट के लिए डायनेमिक एक्सेस लिस्ट (DynamicAccessList) कॉन्फ़िगर कर सकता है [SWS_DM_01213], SWS Diagnostics, पृ. 132। साथ ही, इस हैंडल का उपयोग करने से क्लाइंट की इनएक्टिविटी टाइम विंडो रीफ्रेश हो जाती है SWS Diagnostics, पृ. 133।

यदि क्लाइंट kDeAuthenticated स्थिति में है, तो एप्लिकेशन अस्थायी रूप से वैकल्पिक डिफ़ॉल्ट भूमिकाओं को सक्रिय करने के लिए इसके बजाय OverrideDefaultRoles(defaultRoles, timeout) को कॉल कर सकता है; सफल होने पर यह कॉल भी एक ClientAuthenticationHandle लौटाती है [SWS_DM_01141], [SWS_DM_01209]।

प्रमाणीकरण अनुक्रम और अधिकार प्रबंधनआवेदनClientAuthenticationDiagnosticServerSetNotifier(notifier)Result<void>Authenticate(userRoles)स्थिति kAuthenticated और भूमिकाएँ सेट करेंBestaetigung & HandleResult<ClientAuthenticationHandle>optClient-Inaktivitaet in Standard-Session / S3-TimeoutWechsel zu kDeAuthenticatednotifier(kDeAuthenticated)

अनुक्रम आरेख: प्रमाणीकरण के दौरान कॉल और सूचना प्रवाह। स्रोत: [SWS_DM_01142], [SWS_DM_01144], [SWS_DM_01206], [SWS_DM_01210]

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

मेथड्स Authenticate, OverrideDefaultRoles और GetState अपने रिटर्न मान ara::core::Result में एनकैप्सुलेट करके लौटाती हैं तथा अपवाद-सुरक्षित (exception safe) व noexcept विनिर्दिष्ट हैं [SWS_DM_01141], [SWS_DM_01142], [SWS_DM_01143]। त्रुटि की स्थिति में निम्नलिखित मानकीकृत त्रुटि कोड रिपोर्ट किया जाता है:

  • DiagErrc::kServiceNotAvailable: तब घटित होता है जब कॉल निष्पादित नहीं की जा सकती क्योंकि Diagnostic Manager की अनिवार्य कार्यात्मकताएँ वर्तमान में अनुपलब्ध हैं [SWS_DM_01141], [SWS_DM_01142], [SWS_DM_01143]। इस त्रुटि में रोलबैक सिमेंटिक्स (rollback_semantics) होता है, जिससे कोई भी अधूरा स्थिति परिवर्तन शेष नहीं रहता [SWS_DM_01141], [SWS_DM_01142], [SWS_DM_01143]।

SetNotifier के लिए कोई मानकीकृत त्रुटि कोड परिभाषित नहीं हैं [SWS_DM_01144]। एक आवश्यक पूर्व-शर्त के रूप में, OverrideDefaultRoles यह अपेक्षा करता है कि कॉल के समय क्लाइंट kDeAuthenticated स्थिति में हो [SWS_DM_01209]।

यह गाइड AUTOSAR Adaptive R25-11 विनिर्देश (मॉड्यूल diag) पर आधारित है और autodocs के लिए तैयार किया गया था।

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

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

2

ऑपरेटर

1

एन्यूमरेशन

1

क्लास आरेख

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

G nara__diag__ClientAuthentication678 ClientAuthentication + ClientAuthentication() + ~ClientAuthentication() + Authenticate() + GetState() + OverrideDefaultRoles() + SetNotifier() + operator=()

विवरण दृश्य

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

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

ClientAuthentication फ़ंक्शन 2

Move constructor of ClientAuthentication.

ओवरलोड ClientAuthentication 2
ClientAuthentication (ClientAuthentication &&other) noexcept=default; SWS_DM_01137
ClientAuthentication (ClientAuthentication const &other)=delete; SWS_DM_01139
~ClientAuthentication फ़ंक्शन

Destructor of ClientAuthentication.

~ClientAuthentication () noexcept;

मेथड

Authenticate फ़ंक्शन

This function is used by the application to report the authenticated state to the Diagnostic Server instance. The authentication could be either done using the Authentication interfaces of the Diagnostic Server instance, or through other means in the application.

GetState फ़ंक्शन

This function is used by the application to query the current authentication state of the diagnostic client.

ara::core::Result< DiagnosticAuthState > GetState () const noexcept;
OverrideDefaultRoles फ़ंक्शन

This method is used by the application to temporarily change the default AuthenticationRole for a Diagnostic Server Instance. The diagnostic services allowed in the passed defaultRoles are now accessible to the tester for a time period defined in the parameter timeout.

SetNotifier फ़ंक्शन

This function is used by the application to set a Notifier function that shall be called by the Diagnostic Server instance when an Authentication Status Change occurs. This may be used, e.g, to notify the application when a transition to kDeAuthenticated state occurred due to an S3 timeout. A consecutive call of this method will overwrite the previous registered notifier.

ara::core::Result< void > SetNotifier (ClientAuthenticationSetNotifier notifier) noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

Move assignment operator of ClientAuthentication.

ओवरलोड = 2
auto operator= (ClientAuthentication &&other) & noexcept -> Client Authentication & =default; SWS_DM_01138
auto operator= (ClientAuthentication const &other) -> Client Authentication &=delete; SWS_DM_01140

टाइप उपनाम

ClientAuthenticationSetNotifier टाइप उपनाम

Notifier Function that is called by the Diagnostic Server instance when an Authentication Status Change Occurs. This may be used, for e.g, to notify the application when a transition to kDeAuthenticated State occurred due to an S3 timeout.

using ClientAuthenticationSetNotifier = std::function<void(Diagnostic AuthState)>;
DiagnosticAuthRole टाइप उपनाम

The supported values for the Diagnostic Authentication roles are specified in the Diagnostic Extract.

using DiagnosticAuthRole = ara::core::String;

एन्यूमरेशन

DiagnosticAuthState एन्यूमरेशन

Possible values of the Authentication State of the client.

enum class DiagnosticAuthState : std::uint8_t {...};

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

फ़ंक्शन Authenticate [SWS_DM_01142] Upstream: RS_Diag_04251

ara::core::Result< ClientAuthenticationHandle > Authenticate (ara::core::Vector< DiagnosticAuthRole > userRoles) noexcept;

This function is used by the application to report the authenticated state to the Diagnostic Server instance. The authentication could be either done using the Authentication interfaces of the Diagnostic Server instance, or through other means in the application.

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

उपयोग और कॉल

फ़ंक्शन ara::diag::ClientAuthentication::Authenticate को डायग्नोस्टिक सर्वर इंस्टेंस को डायग्नोस्टिक क्लाइंट के सफल प्रमाणीकरण की सूचना देने के लिए एक एप्लिकेशन द्वारा कॉल किया जाता है [SWS_DM_01142]। यह डायग्नोस्टिक सर्वर के इंटरफ़ेस के माध्यम से या एप्लिकेशन के स्वयं के तंत्र के माध्यम से प्रमाणीकरण के बाद हो सकता है [SWS_DM_01142]।

इनपुट पैरामीटर के रूप में, फ़ंक्शन userRoles (प्रकार ara::core::Vector<DiagnosticAuthRole> का) स्वीकार करता है। सफल कॉल पर, इंस्टेंस की प्रमाणीकरण स्थिति kAuthenticated में बदल जाती है और पास की गई उपयोगकर्ता भूमिकाएँ स्थायी रूप से अपना ली जाती हैं [SWS_DM_01206]। रिटर्न मान के रूप में, यह एक ara::core::Result<ClientAuthenticationHandle> लौटाता है [SWS_DM_01142]। चूँकि एक Result ऑब्जेक्ट तुरंत प्रदान किया जाता है, प्रसंस्करण कॉलिंग संदर्भ में सिंक्रोनस रूप से होने की संभावना है। प्रश्न Q-dae22c82694f2103 (खुला)

त्रुटि हैंडलिंग और समवर्तीता

मेथड को noexcept के रूप में घोषित किया गया है और इसे अपवाद-सुरक्षित (exception safe) माना जाता है [SWS_DM_01142]। यदि कॉल के समय Diagnostic Manager की मौलिक कार्यक्षमताएँ उपलब्ध न होने के कारण कोई त्रुटि होती है, तो ऑपरेशन रोलबैक सेमेंटिक्स के साथ विफल हो जाता है और Result ऑब्जेक्ट में DiagErrc::kServiceNotAvailable लौटाता है [SWS_DM_01142]।

कॉनकरेंसी के संबंध में, मेथड को स्पष्ट रूप से not thread-safe के रूप में निर्दिष्ट किया गया है [SWS_DM_01142]। इसलिए समान ClientAuthentication ऑब्जेक्ट पर समानांतर कॉल्स अस्वीकार्य हैं और एप्लिकेशन द्वारा सिंक्रनाइज़ की जानी चाहिए।

अंतःक्रिया और जीवन चक्र

प्राप्त ClientAuthenticationHandle एप्लिकेशन को प्रमाणित क्लाइंट के लिए DynamicAccessList को परिभाषित या विस्तारित करने में सक्षम बनाता है [SWS_DM_01142]। इसके अलावा, कॉल क्लाइंट की निष्क्रियता निगरानी को प्रारंभ या संदर्भित करता है: यदि सफल प्रमाणीकरण के बाद डिफ़ॉल्ट सत्र स्थिति में authenticationTimeout की अवधि के लिए कोई अन्य UDS अनुरोध प्राप्त नहीं होता है, तो डायग्नोस्टिक सर्वर इंस्टेंस स्वचालित रूप से क्लाइंट को वापस kDeAuthenticated पर रीसेट कर देता है [SWS_DM_01210]। इस टाइमआउट को रोकने के लिए, एप्लिकेशन हैंडल की मेथड Refresh के माध्यम से टाइमर को रीफ़्रेश कर सकता है [SWS_DM_01155]।

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

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

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

Parameter (in)

ParameterBeschreibung
userRolesThe user roles to set on the diagnostic client

Rückgabewert

TypBeschreibung
ara::core::Result< ClientAuthenticationHandle >A handler of the Authentication State, which can be used by the application to set or extend the DynamicAccessList

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_01142
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01142@rel:R25-11#7292d69a
Content hash
7292d69a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01142
Status: valid/unmigrated Version: rel:R25-11#17cf8f55 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_01142@rel:R25-11#17cf8f55
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#ffd39a4b2026-09-30
  • R21-11rel:R21-11#6f17bd9a2026-10-14
  • R22-11rel:R22-11#1579f1692026-10-14
  • R23-11rel:R23-11#3b67657b2026-10-14
  • R24-11rel:R24-11#575f1e5f2026-10-14
  • R25-11rel:R25-11#17cf8f552026-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

फ़ंक्शन ClientAuthentication [SWS_DM_01137] Upstream: RS_Diag_04251

ClientAuthentication (ClientAuthentication &&other) noexcept=default;

Move constructor of ClientAuthentication.

Header-Datei#include "ara/diag/client_authentication.h"
Scopeclass ara::diag::ClientAuthentication
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_01137
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01137@rel:R25-11#f8296a57
Content hash
f8296a57
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01137
Status: valid/unmigrated Version: rel:R25-11#3462794e 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_01137@rel:R25-11#3462794e
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#581961172026-09-30
  • R21-11rel:R21-11#f373d3152026-10-14
  • R22-11rel:R22-11#afdb12682026-10-14
  • R23-11rel:R23-11#5682468c2026-10-14
  • R24-11rel:R24-11#d6bf1b932026-10-14
  • R25-11rel:R25-11#3462794e2026-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

फ़ंक्शन ClientAuthentication [SWS_DM_01139] Upstream: RS_Diag_04251

ClientAuthentication (ClientAuthentication const &other)=delete;

Copy constructor of ClientAuthentication cannot be used.

Header-Datei#include "ara/diag/client_authentication.h"
Scopeclass ara::diag::ClientAuthentication

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

Record
AUTOSAR/AP/record/SWS_DM_01139
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01139@rel:R25-11#921f145d
Content hash
921f145d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01139
Status: valid/unmigrated Version: rel:R25-11#8625245a 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_01139@rel:R25-11#8625245a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#ab1768822026-09-30
  • R21-11rel:R21-11#1fb6defa2026-10-14
  • R22-11rel:R22-11#74808a772026-10-14
  • R23-11rel:R23-11#1b61e7822026-10-14
  • R24-11rel:R24-11#8625245a2026-10-14
  • R25-11rel:R25-11#8625245a2026-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

फ़ंक्शन GetState [SWS_DM_01143] Upstream: RS_Diag_04251

ara::core::Result< DiagnosticAuthState > GetState () const noexcept;

This function is used by the application to query the current authentication state of the diagnostic client.

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

Rückgabewert

TypBeschreibung
ara::core::Result<DiagnosticAuthState >The Authentication State of the Diagnostic Client or 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_01143
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01143@rel:R25-11#27419b20
Content hash
27419b20
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01143
Status: valid/unmigrated Version: rel:R25-11#608570f4 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_01143@rel:R25-11#608570f4
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#84da2c3e2026-09-30
  • R21-11rel:R21-11#d78810992026-10-14
  • R22-11rel:R22-11#fed2aecc2026-10-14
  • R23-11rel:R23-11#275163122026-10-14
  • R24-11rel:R24-11#23ca48ab2026-10-14
  • R25-11rel:R25-11#608570f42026-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

फ़ंक्शन OverrideDefaultRoles [SWS_DM_01141] Upstream: RS_Diag_04251

ara::core::Result< ClientAuthenticationHandle > OverrideDefaultRoles (ara::core::Vector< DiagnosticAuthRole > defaultRoles, std::chrono::milliseconds timeout) noexcept;

This method is used by the application to temporarily change the default AuthenticationRole for a Diagnostic Server Instance. The diagnostic services allowed in the passed defaultRoles are now accessible to the tester for a time period defined in the parameter timeout.

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

क्लास ara::diag::ClientAuthentication की सिंक्रोनस मेथड OverrideDefaultRoles के साथ, एक एप्लिकेशन डायग्नोस्टिक क्लाइंट की डिफ़ॉल्ट प्रमाणीकरण भूमिकाओं (defaultRoles) को अस्थायी रूप से ओवरराइड कर सकता है [SWS_DM_01141]। पास की गई भूमिकाओं के लिए सक्षम की गई डायग्नोस्टिक सेवाएँ पैरामीटर timeout में परिभाषित समयावधि के लिए टेस्टर हेतु उपलब्ध रहती हैं [SWS_DM_01141]। इसके लिए शर्त यह है कि क्लाइंट kDeAuthenticated स्थिति में हो [SWS_DM_01209]। Interpretation: यदि कॉल kDeAuthenticated स्थिति में नहीं की जाती है, तो भूमिका ओवरराइड को अस्वीकार किया जा सकता है या यह अप्रभावी रह सकता है, क्योंकि विनिर्देश विशेष रूप से इस प्रारंभिक स्थिति के लिए ही व्यवहार निर्धारित करता है। प्रश्न Q-81189f2c2fe0f301 (खुला)

सफल निष्पादन पर, मेथड एप्लिकेशन को ara::core::Result के भीतर ClientAuthenticationHandle का एक इंस्टेंस लौटाती है [SWS_DM_01141], [SWS_DM_01209]। यदि कॉल निष्पादित नहीं की जा सकती है क्योंकि Diagnostic Manager की अनिवार्य कार्यक्षमता वर्तमान में उपलब्ध नहीं है, तो त्रुटि कोड DiagErrc::kServiceNotAvailable लौटाया जाता है [SWS_DM_01141]। फ़ंक्शन को noexcept के रूप में घोषित किया गया है और यह अपवाद-सुरक्षित (exception safe) है [SWS_DM_01141]।

कॉनकरेंसी और अन्य घटकों के साथ परस्पर क्रिया के लिए निम्नलिखित आवश्यकताएँ लागू होती हैं:

  • कॉनकरेंसी: मेथड को not thread-safe के रूप में निर्दिष्ट किया गया है [SWS_DM_01141]। समान इंस्टेंस पर समानांतर कॉल्स को एप्लिकेशन पक्ष पर सिंक्रनाइज़ किया जाना चाहिए।
  • हैंडल प्रबंधन: ClientAuthenticationHandle के लौटाए गए इंस्टेंस के माध्यम से चल रहे टाइमर को Refresh() के साथ बढ़ाया जा सकता है [SWS_DM_01155]। इसके अतिरिक्त, हैंडल अतिरिक्त डायग्नोस्टिक संसाधनों के लिए DynamicAccessList के प्रबंधन को सक्षम बनाता है AUTOSAR_AP_SWS_Diagnostics §7.3.2.3.3 “ClientAuthenticationHandle”।

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

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

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

Parameter (in)

ParameterBeschreibung
defaultRolesThe default roles requested by the application, to be set on the diagnostic client
timeoutThe timeout until which the override request is active

Rückgabewert

TypBeschreibung
ara::core::Result< ClientAuthenticationHandle >Operation result

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_01141
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01141@rel:R25-11#e0d5c5db
Content hash
e0d5c5db
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01141
Status: valid/unmigrated Version: rel:R25-11#21bca5df 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_01141@rel:R25-11#21bca5df
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#852a402e2026-09-30
  • R21-11rel:R21-11#135b2de82026-10-14
  • R22-11rel:R22-11#70389b8e2026-10-14
  • R23-11rel:R23-11#e73e64042026-10-14
  • R24-11rel:R24-11#94dc59742026-10-14
  • R25-11rel:R25-11#21bca5df2026-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

फ़ंक्शन SetNotifier [SWS_DM_01144] Upstream: RS_Diag_04251

ara::core::Result< void > SetNotifier (ClientAuthenticationSetNotifier notifier) noexcept;

This function is used by the application to set a Notifier function that shall be called by the Diagnostic Server instance when an Authentication Status Change occurs. This may be used, e.g, to notify the application when a transition to kDeAuthenticated state occurred due to an S3 timeout. A consecutive call of this method will overwrite the previous registered notifier.

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

उपयोग

क्लास ara::diag::ClientAuthentication का मेथड [SWS_DM_01144] एप्लिकेशन द्वारा ClientAuthenticationSetNotifier प्रकार के कॉलबैक फ़ंक्शन को पंजीकृत करने के लिए उपयोग किया जाता है। इसे Diagnostic Server के इंस्टेंस द्वारा तब कॉल किया जाता है जब किसी क्लाइंट की प्रमाणीकरण स्थिति बदलती है [SWS_DM_01144]। यह एप्लिकेशन को स्थिति परिवर्तनों पर तुरंत प्रतिक्रिया देने में सक्षम बनाता है, उदाहरण के लिए जब S3 सर्वर टाइमआउट के बाद स्वचालित रूप से स्थिति kDeAuthenticated में ट्रांज़िशन होता है [SWS_DM_01211] या क्लाइंट निष्क्रियता के कारण टाइमआउट होता है [SWS_DM_01210]।

त्रुटि हैंडलिंग और रिटर्न मान

फ़ंक्शन एक ara::core::Result<void> लौटाता है और इसे noexcept के साथ-साथ अपवाद-सुरक्षित (exception safe) घोषित किया गया है [SWS_DM_01144]। कोई मानकीकृत त्रुटि कोड निर्दिष्ट नहीं हैं [SWS_DM_01144]; संभवतः नियमित संचालन में Result ऑब्जेक्ट हमेशा सफलता (void) प्रदान करता है। प्रश्न Q-0d7d43cc37d57944 (खुला)

समवर्तीता और परस्पर क्रिया

थ्रेड सुरक्षा के संबंध में, मेथड को "not thread-safe" के रूप में निर्दिष्ट किया गया है [SWS_DM_01144]। इसलिए, उसी इंस्टेंस पर कॉल्स समवर्ती थ्रेड्स से असुरक्षित रूप से नहीं किए जाने चाहिए। इसके अतिरिक्त, पंजीकरण के लिए एक अधिलेखन (overwrite) व्यवहार लागू होता है: SetNotifier का एक नया कॉल पहले पंजीकृत Notifier को पूरी तरह से प्रतिस्थापित कर देता है [SWS_DM_01144]। यह व्यवहार Diagnostic Management में एकसमान पंजीकरण पैटर्न से मेल खाता है, जैसा कि समान रूप से [SWS_DM_00615] (CancellationHandler), [SWS_DM_00745] (Indicator) और [SWS_DM_00755] (OperationCycle) के लिए भी परिभाषित किया गया है।

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

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

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

Parameter (in)

ParameterBeschreibung
notifierThe notifier to call on state transition

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns void.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_01144
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01144@rel:R25-11#0a48a0e9
Content hash
0a48a0e9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01144
Status: valid/unmigrated Version: rel:R25-11#ddcf5d80 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_01144@rel:R25-11#ddcf5d80
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#bb5bb9422026-09-30
  • R21-11rel:R21-11#fec80c112026-10-14
  • R22-11rel:R22-11#2ece489f2026-10-14
  • R23-11rel:R23-11#7f1d62332026-10-14
  • R24-11rel:R24-11#107e99362026-10-14
  • R25-11rel:R25-11#ddcf5d802026-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_01138] Upstream: RS_Diag_04251

auto operator= (ClientAuthentication &&other) & noexcept -> Client Authentication & =default;

Move assignment operator of ClientAuthentication.

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

Parameter (in)

ParameterBeschreibung
otherObject to move-assign from.

Rückgabewert

TypBeschreibung
ClientAuthenticationClientAuthentication& Reference to self.

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

Record
AUTOSAR/AP/record/SWS_DM_01138
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01138@rel:R25-11#501a26f5
Content hash
501a26f5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01138
Status: valid/unmigrated Version: rel:R25-11#76277668 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_01138@rel:R25-11#76277668
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#f0894f262026-09-30
  • R21-11rel:R21-11#1107ed262026-10-14
  • R22-11rel:R22-11#9d8e860b2026-10-14
  • R23-11rel:R23-11#a3ca32ee2026-10-14
  • R24-11rel:R24-11#2d04d62d2026-10-14
  • R25-11rel:R25-11#762776682026-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_01140] Upstream: RS_Diag_04251

auto operator= (ClientAuthentication const &other) -> Client Authentication &=delete;

Copy assignment operator of ClientAuthentication cannot be used.

Header-Datei#include "ara/diag/client_authentication.h"
Scopeclass ara::diag::ClientAuthentication

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

Record
AUTOSAR/AP/record/SWS_DM_01140
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01140@rel:R25-11#6b686c96
Content hash
6b686c96
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01140
Status: valid/unmigrated Version: rel:R25-11#83c48e25 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_01140@rel:R25-11#83c48e25
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#2a4783d52026-09-30
  • R21-11rel:R21-11#f986a5382026-10-14
  • R22-11rel:R22-11#666e2c0b2026-10-14
  • R23-11rel:R23-11#9111a09e2026-10-14
  • R24-11rel:R24-11#41a505672026-10-14
  • R25-11rel:R25-11#83c48e252026-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

फ़ंक्शन ~ClientAuthentication [SWS_DM_01136] Upstream: RS_Diag_04251

~ClientAuthentication () noexcept;

Destructor of ClientAuthentication.

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

क्लास ara::diag::ClientAuthentication का डिस्ट्रक्टर [SWS_DM_01136] Diagnostic Management में क्लाइंट प्रमाणीकरण हेतु किसी इंस्टेंस के विमोचन और स्वच्छ टियरडाउन (teardown) के लिए कार्य करता है। यह फ़ंक्शन हेडर फ़ाइल #include "ara/diag/client_authentication.h" में परिभाषित है और ऑब्जेक्ट के जीवनकाल की समाप्ति पर सिंक्रोनस रूप से कॉल किया जाता है (AUTOSAR_AP_SWS_Diagnostics §8.5.1.2.1.2 “Destructor”)।

उपयोग और निष्पादन विशेषताओं के लिए निम्नलिखित नियम लागू होते हैं:

  • कॉल और पैरामीटर: एक डिस्ट्रक्टर के रूप में, ~ClientAuthentication() में न तो कोई इनपुट पैरामीटर होता है और न ही कोई रिटर्न मान।
  • त्रुटि और अपवाद सुरक्षा: यह ऑपरेशन noexcept और exception safe के रूप में निर्दिष्ट है [SWS_DM_01136]; ऑब्जेक्ट के टियरडाउन के दौरान किसी भी अपवाद (exceptions) के न उत्पन्न होने की गारंटी है।
  • समवर्तीता (Concurrency): कॉल को स्पष्ट रूप से not thread-safe के रूप में वर्गीकृत किया गया है। परिणामस्वरूप, ऑब्जेक्ट का विनाश उसी इंस्टेंस के अन्य मेथड कॉल्स के समवर्ती रूप से नहीं होना चाहिए।

यह तत्व अपस्ट्रीम आवश्यकता RS_Diag_04251 को लागू करता है (AUTOSAR_AP_SWS_Diagnostics §8.5.1.2.1.2 “Destructor”)। व्याख्या: थ्रेड सुरक्षा की कमी के कारण होने वाले अपरिभाषित व्यवहार (undefined behavior) से बचने के लिए, इंस्टेंस को नष्ट करने से पहले एप्लिकेशन की सक्रिय प्रमाणीकरण या संचार प्रक्रियाओं को व्यवस्थित रूप से समाप्त किया जाना आवश्यक प्रतीत होता है। प्रश्न Q-cedd6f523eb2c1c3 (खुला)

यह पाठ एक AI द्वारा उत्पन्न किया गया था और संपादकीय उपयोग निर्देश के रूप में कार्य करता है।

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

Header-Datei#include "ara/diag/client_authentication.h"
Scopeclass ara::diag::ClientAuthentication
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_01136
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01136@rel:R25-11#7b5f90f6
Content hash
7b5f90f6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01136
Status: valid/unmigrated Version: rel:R25-11#ebd2efb0 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_01136@rel:R25-11#ebd2efb0
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#5066950d2026-09-30
  • R21-11rel:R21-11#aa8b145e2026-10-14
  • R22-11rel:R22-11#e03e0f452026-10-14
  • R23-11rel:R23-11#a62b91a92026-10-14
  • R24-11rel:R24-11#393bc96e2026-10-14
  • R25-11rel:R25-11#ebd2efb02026-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

एन्यूमरेशन का प्रलेखन

एन्यूमरेशन DiagnosticAuthState [SWS_DM_01133] Upstream: RS_Diag_04251

enum class DiagnosticAuthState :                std::uint8_t {...};

Possible values of the Authentication State of the client.

Header-Datei#include "ara/diag/client_authentication.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopeclass ara::diag::ClientAuthentication
SymbolDiagnosticAuthState
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kDeAuthenticated= 0x00 No Diagnostic Clients are currently authenticated.
kAuthenticated= 0x01 A Diagnostic Client is currently authenticated.

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

Record
AUTOSAR/AP/record/SWS_DM_01133
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01133@rel:R25-11#b1bc06fc
Content hash
b1bc06fc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01133
Status: valid/unmigrated Version: rel:R25-11#be2431b9 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_01133@rel:R25-11#be2431b9
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#ecdc884c2026-09-30
  • R21-11rel:R21-11#9ee5449e2026-10-14
  • R22-11rel:R22-11#9ee5449e2026-10-14
  • R23-11rel:R23-11#e21d94c52026-10-14
  • R24-11rel:R24-11#e21d94c52026-10-14
  • R25-11rel:R25-11#be2431b92026-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

टाइप उपनामों का प्रलेखन

टाइप उपनाम ClientAuthenticationSetNotifier [SWS_DM_02077] Upstream: RS_Diag_04251

using ClientAuthenticationSetNotifier = std::function<void(Diagnostic AuthState)>;

Notifier Function that is called by the Diagnostic Server instance when an Authentication Status Change Occurs. This may be used, for e.g, to notify the application when a transition to kDeAuthenticated State occurred due to an S3 timeout.

Header-Datei#include "ara/diag/client_authentication.h"
Scopeclass ara::diag::ClientAuthentication
SymbolClientAuthenticationSetNotifier
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_02077
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_02077@rel:R25-11#32f22b99
Content hash
32f22b99
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_02077
Status: valid/unmigrated Version: rel:R25-11#9f8e8d05 Versionshistorie & Revisions (1 transition, 3 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_02077@rel:R25-11#9f8e8d05
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#00399c222026-09-30
  • R24-11rel:R24-11#b4d6fb532026-10-14
  • R25-11rel:R25-11#9f8e8d052026-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

टाइप उपनाम DiagnosticAuthRole [SWS_DM_01134] Upstream: RS_Diag_04251

using DiagnosticAuthRole = ara::core::String;

The supported values for the Diagnostic Authentication roles are specified in the Diagnostic Extract.

Header-Datei#include "ara/diag/client_authentication.h"
Scopeclass ara::diag::ClientAuthentication
SymbolDiagnosticAuthRole

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

Record
AUTOSAR/AP/record/SWS_DM_01134
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01134@rel:R25-11#5d0947d3
Content hash
5d0947d3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01134
Status: valid/unmigrated Version: rel:R25-11#10bed2cf 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_01134@rel:R25-11#10bed2cf
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#ecb176b92026-09-30
  • R21-11rel:R21-11#d3a529062026-10-14
  • R22-11rel:R22-11#7d6be0912026-10-14
  • R23-11rel:R23-11#7e7656532026-10-14
  • R24-11rel:R24-11#eb0bd58b2026-10-14
  • R25-11rel:R25-11#10bed2cf2026-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