summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Security/Authentication/Web
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/Authentication/Web')
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs52
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Web/Provider/mod.rs75
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs49
3 files changed, 176 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs
new file mode 100644
index 000000000..9e5bf215f
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/Web/Core/mod.rs
@@ -0,0 +1,52 @@
+pub type FindAllAccountsResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"]
+#[repr(transparent)]
+pub struct FindAllWebAccountsStatus(pub i32);
+impl FindAllWebAccountsStatus {
+ pub const Success: Self = Self(0i32);
+ pub const NotAllowedByProvider: Self = Self(1i32);
+ pub const NotSupportedByProvider: Self = Self(2i32);
+ pub const ProviderError: Self = Self(3i32);
+}
+impl ::core::marker::Copy for FindAllWebAccountsStatus {}
+impl ::core::clone::Clone for FindAllWebAccountsStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebAccountEventArgs = *mut ::core::ffi::c_void;
+pub type WebAccountMonitor = *mut ::core::ffi::c_void;
+pub type WebProviderError = *mut ::core::ffi::c_void;
+pub type WebTokenRequest = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"]
+#[repr(transparent)]
+pub struct WebTokenRequestPromptType(pub i32);
+impl WebTokenRequestPromptType {
+ pub const Default: Self = Self(0i32);
+ pub const ForceAuthentication: Self = Self(1i32);
+}
+impl ::core::marker::Copy for WebTokenRequestPromptType {}
+impl ::core::clone::Clone for WebTokenRequestPromptType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebTokenRequestResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"]
+#[repr(transparent)]
+pub struct WebTokenRequestStatus(pub i32);
+impl WebTokenRequestStatus {
+ pub const Success: Self = Self(0i32);
+ pub const UserCancel: Self = Self(1i32);
+ pub const AccountSwitch: Self = Self(2i32);
+ pub const UserInteractionRequired: Self = Self(3i32);
+ pub const AccountProviderNotAvailable: Self = Self(4i32);
+ pub const ProviderError: Self = Self(5i32);
+}
+impl ::core::marker::Copy for WebTokenRequestStatus {}
+impl ::core::clone::Clone for WebTokenRequestStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebTokenResponse = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Web/Provider/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Web/Provider/mod.rs
new file mode 100644
index 000000000..5e4d2908f
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/Web/Provider/mod.rs
@@ -0,0 +1,75 @@
+pub type IWebAccountProviderBaseReportOperation = *mut ::core::ffi::c_void;
+pub type IWebAccountProviderOperation = *mut ::core::ffi::c_void;
+pub type IWebAccountProviderSilentReportOperation = *mut ::core::ffi::c_void;
+pub type IWebAccountProviderTokenObjects = *mut ::core::ffi::c_void;
+pub type IWebAccountProviderTokenObjects2 = *mut ::core::ffi::c_void;
+pub type IWebAccountProviderTokenOperation = *mut ::core::ffi::c_void;
+pub type IWebAccountProviderUIReportOperation = *mut ::core::ffi::c_void;
+pub type WebAccountClientView = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
+#[repr(transparent)]
+pub struct WebAccountClientViewType(pub i32);
+impl WebAccountClientViewType {
+ pub const IdOnly: Self = Self(0i32);
+ pub const IdAndProperties: Self = Self(1i32);
+}
+impl ::core::marker::Copy for WebAccountClientViewType {}
+impl ::core::clone::Clone for WebAccountClientViewType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebAccountProviderAddAccountOperation = *mut ::core::ffi::c_void;
+pub type WebAccountProviderDeleteAccountOperation = *mut ::core::ffi::c_void;
+pub type WebAccountProviderGetTokenSilentOperation = *mut ::core::ffi::c_void;
+pub type WebAccountProviderManageAccountOperation = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
+#[repr(transparent)]
+pub struct WebAccountProviderOperationKind(pub i32);
+impl WebAccountProviderOperationKind {
+ pub const RequestToken: Self = Self(0i32);
+ pub const GetTokenSilently: Self = Self(1i32);
+ pub const AddAccount: Self = Self(2i32);
+ pub const ManageAccount: Self = Self(3i32);
+ pub const DeleteAccount: Self = Self(4i32);
+ pub const RetrieveCookies: Self = Self(5i32);
+ pub const SignOutAccount: Self = Self(6i32);
+}
+impl ::core::marker::Copy for WebAccountProviderOperationKind {}
+impl ::core::clone::Clone for WebAccountProviderOperationKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebAccountProviderRequestTokenOperation = *mut ::core::ffi::c_void;
+pub type WebAccountProviderRetrieveCookiesOperation = *mut ::core::ffi::c_void;
+pub type WebAccountProviderSignOutAccountOperation = *mut ::core::ffi::c_void;
+pub type WebAccountProviderTriggerDetails = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
+#[repr(transparent)]
+pub struct WebAccountScope(pub i32);
+impl WebAccountScope {
+ pub const PerUser: Self = Self(0i32);
+ pub const PerApplication: Self = Self(1i32);
+}
+impl ::core::marker::Copy for WebAccountScope {}
+impl ::core::clone::Clone for WebAccountScope {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"]
+#[repr(transparent)]
+pub struct WebAccountSelectionOptions(pub u32);
+impl WebAccountSelectionOptions {
+ pub const Default: Self = Self(0u32);
+ pub const New: Self = Self(1u32);
+}
+impl ::core::marker::Copy for WebAccountSelectionOptions {}
+impl ::core::clone::Clone for WebAccountSelectionOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebProviderTokenRequest = *mut ::core::ffi::c_void;
+pub type WebProviderTokenResponse = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs
new file mode 100644
index 000000000..b7a436c40
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs
@@ -0,0 +1,49 @@
+#[cfg(feature = "Security_Authentication_Web_Core")]
+pub mod Core;
+#[cfg(feature = "Security_Authentication_Web_Provider")]
+pub mod Provider;
+#[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
+#[repr(transparent)]
+pub struct TokenBindingKeyType(pub i32);
+impl TokenBindingKeyType {
+ pub const Rsa2048: Self = Self(0i32);
+ pub const EcdsaP256: Self = Self(1i32);
+ pub const AnyExisting: Self = Self(2i32);
+}
+impl ::core::marker::Copy for TokenBindingKeyType {}
+impl ::core::clone::Clone for TokenBindingKeyType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
+#[repr(transparent)]
+pub struct WebAuthenticationOptions(pub u32);
+impl WebAuthenticationOptions {
+ pub const None: Self = Self(0u32);
+ pub const SilentMode: Self = Self(1u32);
+ pub const UseTitle: Self = Self(2u32);
+ pub const UseHttpPost: Self = Self(4u32);
+ pub const UseCorporateNetwork: Self = Self(8u32);
+}
+impl ::core::marker::Copy for WebAuthenticationOptions {}
+impl ::core::clone::Clone for WebAuthenticationOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WebAuthenticationResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Web\"`*"]
+#[repr(transparent)]
+pub struct WebAuthenticationStatus(pub i32);
+impl WebAuthenticationStatus {
+ pub const Success: Self = Self(0i32);
+ pub const UserCancel: Self = Self(1i32);
+ pub const ErrorHttp: Self = Self(2i32);
+}
+impl ::core::marker::Copy for WebAuthenticationStatus {}
+impl ::core::clone::Clone for WebAuthenticationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}