winget-cli

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

MicrosoftEntraIdAuthenticationInfo.h (796B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "MicrosoftEntraIdAuthenticationInfo.g.h"
      5 #include <winget/Authentication.h>
      6 
      7 namespace winrt::Microsoft::Management::Deployment::implementation
      8 {
      9     struct MicrosoftEntraIdAuthenticationInfo : MicrosoftEntraIdAuthenticationInfoT<MicrosoftEntraIdAuthenticationInfo>
     10     {
     11         MicrosoftEntraIdAuthenticationInfo() = default;
     12 
     13 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     14         void Initialize(::AppInstaller::Authentication::MicrosoftEntraIdAuthenticationInfo authInfo);
     15 #endif
     16 
     17         hstring Resource();
     18         hstring Scope();
     19 
     20 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     21     private:
     22         ::AppInstaller::Authentication::MicrosoftEntraIdAuthenticationInfo m_authInfo;
     23 #endif
     24     };
     25 }