Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h
T
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00

42 lines
2.4 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
#ifndef WINRT_Windows_Security_Credentials_UI_2_H
#define WINRT_Windows_Security_Credentials_UI_2_H
#include "winrt/impl/Windows.Security.Credentials.UI.1.h"
WINRT_EXPORT namespace winrt::Windows::Security::Credentials::UI
{
struct CredentialPicker
{
CredentialPicker() = delete;
static auto PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options);
static auto PickAsync(param::hstring const& targetName, param::hstring const& message);
static auto PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption);
};
struct __declspec(empty_bases) CredentialPickerOptions : winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions
{
CredentialPickerOptions(std::nullptr_t) noexcept {}
CredentialPickerOptions(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions(ptr, take_ownership_from_abi) {}
CredentialPickerOptions();
CredentialPickerOptions(CredentialPickerOptions const&) noexcept = default;
CredentialPickerOptions(CredentialPickerOptions&&) noexcept = default;
CredentialPickerOptions& operator=(CredentialPickerOptions const&) & noexcept = default;
CredentialPickerOptions& operator=(CredentialPickerOptions&&) & noexcept = default;
};
struct __declspec(empty_bases) CredentialPickerResults : winrt::Windows::Security::Credentials::UI::ICredentialPickerResults
{
CredentialPickerResults(std::nullptr_t) noexcept {}
CredentialPickerResults(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Security::Credentials::UI::ICredentialPickerResults(ptr, take_ownership_from_abi) {}
CredentialPickerResults(CredentialPickerResults const&) noexcept = default;
CredentialPickerResults(CredentialPickerResults&&) noexcept = default;
CredentialPickerResults& operator=(CredentialPickerResults const&) & noexcept = default;
CredentialPickerResults& operator=(CredentialPickerResults&&) & noexcept = default;
};
struct UserConsentVerifier
{
UserConsentVerifier() = delete;
static auto CheckAvailabilityAsync();
static auto RequestVerificationAsync(param::hstring const& message);
};
}
#endif