winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

AuthenticationArguments.cpp (1144B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #include "pch.h"
      4 #pragma warning( push )
      5 #pragma warning ( disable : 4467 6388)
      6 // 6388 Allow CreateInstance.
      7 #include <wil\cppwinrt_wrl.h>
      8 // 4467 Allow use of uuid attribute for com object creation.
      9 #include "AuthenticationArguments.h"
     10 #pragma warning( pop )
     11 #include "AuthenticationArguments.g.cpp"
     12 #include "Helpers.h"
     13 
     14 namespace winrt::Microsoft::Management::Deployment::implementation
     15 {
     16     winrt::Microsoft::Management::Deployment::AuthenticationMode AuthenticationArguments::AuthenticationMode()
     17     {
     18         return m_authenticationMode;
     19     }
     20     void AuthenticationArguments::AuthenticationMode(winrt::Microsoft::Management::Deployment::AuthenticationMode const& value)
     21     {
     22         m_authenticationMode = value;
     23     }
     24     hstring AuthenticationArguments::AuthenticationAccount()
     25     {
     26         return winrt::hstring(m_authenticationAccount);
     27     }
     28     void AuthenticationArguments::AuthenticationAccount(hstring const& value)
     29     {
     30         m_authenticationAccount = value;
     31     }
     32     CoCreatableMicrosoftManagementDeploymentClass(AuthenticationArguments);
     33 }