mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+50
-54
@@ -1,4 +1,4 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_Security_Credentials_0_H
|
||||
@@ -6,14 +6,11 @@
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
{
|
||||
struct IAsyncAction;
|
||||
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
|
||||
struct Uri;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
|
||||
{
|
||||
template <typename K, typename V> struct __declspec(empty_bases) IMapView;
|
||||
struct IPropertySet;
|
||||
template <typename T> struct __declspec(empty_bases) IVectorView;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core
|
||||
{
|
||||
@@ -22,7 +19,6 @@ WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Core
|
||||
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
|
||||
{
|
||||
struct IBuffer;
|
||||
struct IRandomAccessStream;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::System
|
||||
{
|
||||
@@ -329,7 +325,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_ICredentialFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const;
|
||||
auto CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::ICredentialFactory>
|
||||
{
|
||||
@@ -338,11 +334,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IKeyCredential
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RetrievePublicKey() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialOperationResult>) RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialAttestationResult>) GetAttestationAsync() const;
|
||||
[[nodiscard]] auto Name() const;
|
||||
auto RetrievePublicKey() const;
|
||||
auto RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const;
|
||||
auto RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const;
|
||||
auto GetAttestationAsync() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IKeyCredential>
|
||||
{
|
||||
@@ -351,9 +347,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IKeyCredentialAttestationResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) CertificateChainBuffer() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) AttestationBuffer() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialAttestationStatus) Status() const;
|
||||
[[nodiscard]] auto CertificateChainBuffer() const;
|
||||
[[nodiscard]] auto AttestationBuffer() const;
|
||||
[[nodiscard]] auto Status() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult>
|
||||
{
|
||||
@@ -362,11 +358,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IKeyCredentialManagerStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsSupportedAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenewAttestationAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>) RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>) OpenAsync(param::hstring const& name) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync(param::hstring const& name) const;
|
||||
auto IsSupportedAsync() const;
|
||||
auto RenewAttestationAsync() const;
|
||||
auto RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const;
|
||||
auto OpenAsync(param::hstring const& name) const;
|
||||
auto DeleteAsync(param::hstring const& name) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics>
|
||||
{
|
||||
@@ -375,8 +371,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IKeyCredentialOperationResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Result() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) Status() const;
|
||||
[[nodiscard]] auto Result() const;
|
||||
[[nodiscard]] auto Status() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IKeyCredentialOperationResult>
|
||||
{
|
||||
@@ -385,8 +381,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredential) Credential() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) Status() const;
|
||||
[[nodiscard]] auto Credential() const;
|
||||
[[nodiscard]] auto Status() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult>
|
||||
{
|
||||
@@ -395,14 +391,14 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IPasswordCredential
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Resource() const;
|
||||
WINRT_IMPL_AUTO(void) Resource(param::hstring const& resource) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const;
|
||||
WINRT_IMPL_AUTO(void) UserName(param::hstring const& userName) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Password() const;
|
||||
WINRT_IMPL_AUTO(void) Password(param::hstring const& password) const;
|
||||
WINRT_IMPL_AUTO(void) RetrievePassword() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const;
|
||||
[[nodiscard]] auto Resource() const;
|
||||
auto Resource(param::hstring const& resource) const;
|
||||
[[nodiscard]] auto UserName() const;
|
||||
auto UserName(param::hstring const& userName) const;
|
||||
[[nodiscard]] auto Password() const;
|
||||
auto Password(param::hstring const& password) const;
|
||||
auto RetrievePassword() const;
|
||||
[[nodiscard]] auto Properties() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IPasswordCredential>
|
||||
{
|
||||
@@ -411,12 +407,12 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IPasswordVault
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const;
|
||||
WINRT_IMPL_AUTO(void) Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) Retrieve(param::hstring const& resource, param::hstring const& userName) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) FindAllByResource(param::hstring const& resource) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) FindAllByUserName(param::hstring const& userName) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) RetrieveAll() const;
|
||||
auto Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const;
|
||||
auto Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const;
|
||||
auto Retrieve(param::hstring const& resource, param::hstring const& userName) const;
|
||||
auto FindAllByResource(param::hstring const& resource) const;
|
||||
auto FindAllByUserName(param::hstring const& userName) const;
|
||||
auto RetrieveAll() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IPasswordVault>
|
||||
{
|
||||
@@ -425,9 +421,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccount
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) WebAccountProvider() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) UserName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountState) State() const;
|
||||
[[nodiscard]] auto WebAccountProvider() const;
|
||||
[[nodiscard]] auto UserName() const;
|
||||
[[nodiscard]] auto State() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccount>
|
||||
{
|
||||
@@ -436,11 +432,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccount2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) Properties() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SignOutAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SignOutAsync(param::hstring const& clientId) const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto Properties() const;
|
||||
auto GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const;
|
||||
auto SignOutAsync() const;
|
||||
auto SignOutAsync(param::hstring const& clientId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccount2>
|
||||
{
|
||||
@@ -449,7 +445,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccountFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const;
|
||||
auto CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountFactory>
|
||||
{
|
||||
@@ -458,9 +454,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccountProvider
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) IconUri() const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto DisplayName() const;
|
||||
[[nodiscard]] auto IconUri() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProvider>
|
||||
{
|
||||
@@ -469,8 +465,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccountProvider2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayPurpose() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Authority() const;
|
||||
[[nodiscard]] auto DisplayPurpose() const;
|
||||
[[nodiscard]] auto Authority() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProvider2>
|
||||
{
|
||||
@@ -479,7 +475,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccountProvider3
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
|
||||
[[nodiscard]] auto User() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProvider3>
|
||||
{
|
||||
@@ -488,7 +484,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccountProvider4
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsSystemProvider() const;
|
||||
[[nodiscard]] auto IsSystemProvider() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProvider4>
|
||||
{
|
||||
@@ -497,7 +493,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Security_Credentials_IWebAccountProviderFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const;
|
||||
auto CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProviderFactory>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user