summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Security/Authentication
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/Authentication')
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs78
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Identity/Provider/mod.rs243
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/Identity/mod.rs6
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/OnlineId/mod.rs37
-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
-rw-r--r--vendor/windows-sys/src/Windows/Security/Authentication/mod.rs6
8 files changed, 546 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs
new file mode 100644
index 000000000..016e40744
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs
@@ -0,0 +1,78 @@
+pub type MicrosoftAccountMultiFactorAuthenticationManager = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"]
+#[repr(transparent)]
+pub struct MicrosoftAccountMultiFactorAuthenticationType(pub i32);
+impl MicrosoftAccountMultiFactorAuthenticationType {
+ pub const User: Self = Self(0i32);
+ pub const Device: Self = Self(1i32);
+}
+impl ::core::marker::Copy for MicrosoftAccountMultiFactorAuthenticationType {}
+impl ::core::clone::Clone for MicrosoftAccountMultiFactorAuthenticationType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MicrosoftAccountMultiFactorGetSessionsResult = *mut ::core::ffi::c_void;
+pub type MicrosoftAccountMultiFactorOneTimeCodedInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"]
+#[repr(transparent)]
+pub struct MicrosoftAccountMultiFactorServiceResponse(pub i32);
+impl MicrosoftAccountMultiFactorServiceResponse {
+ pub const Success: Self = Self(0i32);
+ pub const Error: Self = Self(1i32);
+ pub const NoNetworkConnection: Self = Self(2i32);
+ pub const ServiceUnavailable: Self = Self(3i32);
+ pub const TotpSetupDenied: Self = Self(4i32);
+ pub const NgcNotSetup: Self = Self(5i32);
+ pub const SessionAlreadyDenied: Self = Self(6i32);
+ pub const SessionAlreadyApproved: Self = Self(7i32);
+ pub const SessionExpired: Self = Self(8i32);
+ pub const NgcNonceExpired: Self = Self(9i32);
+ pub const InvalidSessionId: Self = Self(10i32);
+ pub const InvalidSessionType: Self = Self(11i32);
+ pub const InvalidOperation: Self = Self(12i32);
+ pub const InvalidStateTransition: Self = Self(13i32);
+ pub const DeviceNotFound: Self = Self(14i32);
+ pub const FlowDisabled: Self = Self(15i32);
+ pub const SessionNotApproved: Self = Self(16i32);
+ pub const OperationCanceledByUser: Self = Self(17i32);
+ pub const NgcDisabledByServer: Self = Self(18i32);
+ pub const NgcKeyNotFoundOnServer: Self = Self(19i32);
+ pub const UIRequired: Self = Self(20i32);
+ pub const DeviceIdChanged: Self = Self(21i32);
+}
+impl ::core::marker::Copy for MicrosoftAccountMultiFactorServiceResponse {}
+impl ::core::clone::Clone for MicrosoftAccountMultiFactorServiceResponse {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"]
+#[repr(transparent)]
+pub struct MicrosoftAccountMultiFactorSessionApprovalStatus(pub i32);
+impl MicrosoftAccountMultiFactorSessionApprovalStatus {
+ pub const Pending: Self = Self(0i32);
+ pub const Approved: Self = Self(1i32);
+ pub const Denied: Self = Self(2i32);
+}
+impl ::core::marker::Copy for MicrosoftAccountMultiFactorSessionApprovalStatus {}
+impl ::core::clone::Clone for MicrosoftAccountMultiFactorSessionApprovalStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"]
+#[repr(transparent)]
+pub struct MicrosoftAccountMultiFactorSessionAuthenticationStatus(pub i32);
+impl MicrosoftAccountMultiFactorSessionAuthenticationStatus {
+ pub const Authenticated: Self = Self(0i32);
+ pub const Unauthenticated: Self = Self(1i32);
+}
+impl ::core::marker::Copy for MicrosoftAccountMultiFactorSessionAuthenticationStatus {}
+impl ::core::clone::Clone for MicrosoftAccountMultiFactorSessionAuthenticationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MicrosoftAccountMultiFactorSessionInfo = *mut ::core::ffi::c_void;
+pub type MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Identity/Provider/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Identity/Provider/mod.rs
new file mode 100644
index 000000000..118285e16
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/Identity/Provider/mod.rs
@@ -0,0 +1,243 @@
+pub type SecondaryAuthenticationFactorAuthentication = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorAuthenticationMessage(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorAuthenticationMessage {
+ pub const Invalid: Self = Self(0i32);
+ pub const SwipeUpWelcome: Self = Self(1i32);
+ pub const TapWelcome: Self = Self(2i32);
+ pub const DeviceNeedsAttention: Self = Self(3i32);
+ pub const LookingForDevice: Self = Self(4i32);
+ pub const LookingForDevicePluggedin: Self = Self(5i32);
+ pub const BluetoothIsDisabled: Self = Self(6i32);
+ pub const NfcIsDisabled: Self = Self(7i32);
+ pub const WiFiIsDisabled: Self = Self(8i32);
+ pub const ExtraTapIsRequired: Self = Self(9i32);
+ pub const DisabledByPolicy: Self = Self(10i32);
+ pub const TapOnDeviceRequired: Self = Self(11i32);
+ pub const HoldFinger: Self = Self(12i32);
+ pub const ScanFinger: Self = Self(13i32);
+ pub const UnauthorizedUser: Self = Self(14i32);
+ pub const ReregisterRequired: Self = Self(15i32);
+ pub const TryAgain: Self = Self(16i32);
+ pub const SayPassphrase: Self = Self(17i32);
+ pub const ReadyToSignIn: Self = Self(18i32);
+ pub const UseAnotherSignInOption: Self = Self(19i32);
+ pub const ConnectionRequired: Self = Self(20i32);
+ pub const TimeLimitExceeded: Self = Self(21i32);
+ pub const CanceledByUser: Self = Self(22i32);
+ pub const CenterHand: Self = Self(23i32);
+ pub const MoveHandCloser: Self = Self(24i32);
+ pub const MoveHandFarther: Self = Self(25i32);
+ pub const PlaceHandAbove: Self = Self(26i32);
+ pub const RecognitionFailed: Self = Self(27i32);
+ pub const DeviceUnavailable: Self = Self(28i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationMessage {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationMessage {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SecondaryAuthenticationFactorAuthenticationResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorAuthenticationScenario(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorAuthenticationScenario {
+ pub const SignIn: Self = Self(0i32);
+ pub const CredentialPrompt: Self = Self(1i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationScenario {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationScenario {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorAuthenticationStage(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorAuthenticationStage {
+ pub const NotStarted: Self = Self(0i32);
+ pub const WaitingForUserConfirmation: Self = Self(1i32);
+ pub const CollectingCredential: Self = Self(2i32);
+ pub const SuspendingAuthentication: Self = Self(3i32);
+ pub const CredentialCollected: Self = Self(4i32);
+ pub const CredentialAuthenticated: Self = Self(5i32);
+ pub const StoppingAuthentication: Self = Self(6i32);
+ pub const ReadyForLock: Self = Self(7i32);
+ pub const CheckingDevicePresence: Self = Self(8i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationStage {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationStage {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs = *mut ::core::ffi::c_void;
+pub type SecondaryAuthenticationFactorAuthenticationStageInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorAuthenticationStatus(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorAuthenticationStatus {
+ pub const Failed: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const UnknownDevice: Self = Self(2i32);
+ pub const DisabledByPolicy: Self = Self(3i32);
+ pub const InvalidAuthenticationStage: Self = Self(4i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationStatus {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorDeviceCapabilities(pub u32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorDeviceCapabilities {
+ pub const None: Self = Self(0u32);
+ pub const SecureStorage: Self = Self(1u32);
+ pub const StoreKeys: Self = Self(2u32);
+ pub const ConfirmUserIntentToAuthenticate: Self = Self(4u32);
+ pub const SupportSecureUserPresenceCheck: Self = Self(8u32);
+ pub const TransmittedDataIsEncrypted: Self = Self(16u32);
+ pub const HMacSha256: Self = Self(32u32);
+ pub const CloseRangeDataTransmission: Self = Self(64u32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorDeviceCapabilities {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorDeviceCapabilities {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorDeviceFindScope(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorDeviceFindScope {
+ pub const User: Self = Self(0i32);
+ pub const AllUsers: Self = Self(1i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorDeviceFindScope {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorDeviceFindScope {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorDevicePresence(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorDevicePresence {
+ pub const Absent: Self = Self(0i32);
+ pub const Present: Self = Self(1i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresence {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresence {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorDevicePresenceMonitoringMode(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorDevicePresenceMonitoringMode {
+ pub const Unsupported: Self = Self(0i32);
+ pub const AppManaged: Self = Self(1i32);
+ pub const SystemManaged: Self = Self(2i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresenceMonitoringMode {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresenceMonitoringMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {
+ pub const Unsupported: Self = Self(0i32);
+ pub const Succeeded: Self = Self(1i32);
+ pub const DisabledByPolicy: Self = Self(2i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorFinishAuthenticationStatus(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorFinishAuthenticationStatus {
+ pub const Failed: Self = Self(0i32);
+ pub const Completed: Self = Self(1i32);
+ pub const NonceExpired: Self = Self(2i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorFinishAuthenticationStatus {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorFinishAuthenticationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SecondaryAuthenticationFactorInfo = *mut ::core::ffi::c_void;
+pub type SecondaryAuthenticationFactorRegistration = *mut ::core::ffi::c_void;
+pub type SecondaryAuthenticationFactorRegistrationResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SecondaryAuthenticationFactorRegistrationStatus(pub i32);
+#[cfg(feature = "deprecated")]
+impl SecondaryAuthenticationFactorRegistrationStatus {
+ pub const Failed: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const CanceledByUser: Self = Self(2i32);
+ pub const PinSetupRequired: Self = Self(3i32);
+ pub const DisabledByPolicy: Self = Self(4i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SecondaryAuthenticationFactorRegistrationStatus {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SecondaryAuthenticationFactorRegistrationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Identity/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Identity/mod.rs
new file mode 100644
index 000000000..2a7cd9e61
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/Identity/mod.rs
@@ -0,0 +1,6 @@
+#[cfg(feature = "Security_Authentication_Identity_Core")]
+pub mod Core;
+#[cfg(feature = "Security_Authentication_Identity_Provider")]
+pub mod Provider;
+pub type EnterpriseKeyCredentialRegistrationInfo = *mut ::core::ffi::c_void;
+pub type EnterpriseKeyCredentialRegistrationManager = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/OnlineId/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/OnlineId/mod.rs
new file mode 100644
index 000000000..6893e58b3
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/OnlineId/mod.rs
@@ -0,0 +1,37 @@
+#[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"]
+#[repr(transparent)]
+pub struct CredentialPromptType(pub i32);
+impl CredentialPromptType {
+ pub const PromptIfNeeded: Self = Self(0i32);
+ pub const RetypeCredentials: Self = Self(1i32);
+ pub const DoNotPrompt: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CredentialPromptType {}
+impl ::core::clone::Clone for CredentialPromptType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type OnlineIdAuthenticator = *mut ::core::ffi::c_void;
+pub type OnlineIdServiceTicket = *mut ::core::ffi::c_void;
+pub type OnlineIdServiceTicketRequest = *mut ::core::ffi::c_void;
+pub type OnlineIdSystemAuthenticatorForUser = *mut ::core::ffi::c_void;
+pub type OnlineIdSystemIdentity = *mut ::core::ffi::c_void;
+pub type OnlineIdSystemTicketResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"]
+#[repr(transparent)]
+pub struct OnlineIdSystemTicketStatus(pub i32);
+impl OnlineIdSystemTicketStatus {
+ pub const Success: Self = Self(0i32);
+ pub const Error: Self = Self(1i32);
+ pub const ServiceConnectionError: Self = Self(2i32);
+}
+impl ::core::marker::Copy for OnlineIdSystemTicketStatus {}
+impl ::core::clone::Clone for OnlineIdSystemTicketStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SignOutUserOperation = *mut ::core::ffi::c_void;
+pub type UserAuthenticationOperation = *mut ::core::ffi::c_void;
+pub type UserIdentity = *mut ::core::ffi::c_void;
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
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/mod.rs
new file mode 100644
index 000000000..d7d3c4a72
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Security/Authentication/mod.rs
@@ -0,0 +1,6 @@
+#[cfg(feature = "Security_Authentication_Identity")]
+pub mod Identity;
+#[cfg(feature = "Security_Authentication_OnlineId")]
+pub mod OnlineId;
+#[cfg(feature = "Security_Authentication_Web")]
+pub mod Web;