| 1 | // Copyright (C) Microsoft Corporation. All rights reserved. |
| 2 | |
| 3 | #include "precomp.h" |
| 4 | #include "AuthenticateResult.h" |
| 5 | #include "Microsoft.WSL.Containers.AuthenticateResult.g.cpp" |
| 6 | |
| 7 | namespace winrt::Microsoft::WSL::Containers::implementation { |
| 8 | AuthenticateResult::AuthenticateResult(hstring identityToken, winrt::Microsoft::WSL::Containers::IdentityTokenType tokenType) : |
| 9 | m_identityToken(std::move(identityToken)), m_tokenType(tokenType) |
| 10 | { |
| 11 | } |
| 12 | |
| 13 | hstring AuthenticateResult::IdentityToken() |
| 14 | { |
| 15 | return m_identityToken; |
| 16 | } |
| 17 | |
| 18 | winrt::Microsoft::WSL::Containers::IdentityTokenType AuthenticateResult::TokenType() |
| 19 | { |
| 20 | return m_tokenType; |
| 21 | } |
| 22 | } // namespace winrt::Microsoft::WSL::Containers::implementation |