diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Security/Authentication/Identity/Core/mod.rs | 78 |
1 files changed, 78 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; |