| 1 | // Copyright (C) Microsoft Corporation. All rights reserved. |
| 2 | |
| 3 | #pragma once |
| 4 | #include "Microsoft.WSL.Containers.AuthenticateResult.g.h" |
| 5 | |
| 6 | namespace winrt::Microsoft::WSL::Containers::implementation { |
| 7 | struct AuthenticateResult : AuthenticateResultT<AuthenticateResult> |
| 8 | { |
| 9 | AuthenticateResult(hstring identityToken, winrt::Microsoft::WSL::Containers::IdentityTokenType tokenType); |
| 10 | |
| 11 | hstring IdentityToken(); |
| 12 | winrt::Microsoft::WSL::Containers::IdentityTokenType TokenType(); |
| 13 | |
| 14 | private: |
| 15 | hstring m_identityToken{}; |
| 16 | winrt::Microsoft::WSL::Containers::IdentityTokenType m_tokenType{}; |
| 17 | }; |
| 18 | } // namespace winrt::Microsoft::WSL::Containers::implementation |
| 19 | |
| 20 | DEFINE_TYPE_HELPERS(AuthenticateResult); |