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-0.28.0/src/Windows/Security/Authentication/Identity/Provider/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-0.28.0/src/Windows/Security/Authentication/Identity/Provider/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Security/Authentication/Identity/Provider/mod.rs | 191 |
1 files changed, 191 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Authentication/Identity/Provider/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Authentication/Identity/Provider/mod.rs new file mode 100644 index 000000000..046f46e0d --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/Security/Authentication/Identity/Provider/mod.rs @@ -0,0 +1,191 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[link(name = "windows")] +extern "system" {} +pub type SecondaryAuthenticationFactorAuthentication = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorAuthenticationMessage(pub i32); +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); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationMessage {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationMessage { + fn clone(&self) -> Self { + *self + } +} +pub type SecondaryAuthenticationFactorAuthenticationResult = *mut ::core::ffi::c_void; +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorAuthenticationScenario(pub i32); +impl SecondaryAuthenticationFactorAuthenticationScenario { + pub const SignIn: Self = Self(0i32); + pub const CredentialPrompt: Self = Self(1i32); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationScenario {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationScenario { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorAuthenticationStage(pub i32); +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); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationStage {} +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; +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorAuthenticationStatus(pub i32); +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); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationStatus {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationStatus { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorDeviceCapabilities(pub u32); +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); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorDeviceCapabilities {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorDeviceCapabilities { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorDeviceFindScope(pub i32); +impl SecondaryAuthenticationFactorDeviceFindScope { + pub const User: Self = Self(0i32); + pub const AllUsers: Self = Self(1i32); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorDeviceFindScope {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorDeviceFindScope { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorDevicePresence(pub i32); +impl SecondaryAuthenticationFactorDevicePresence { + pub const Absent: Self = Self(0i32); + pub const Present: Self = Self(1i32); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresence {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresence { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorDevicePresenceMonitoringMode(pub i32); +impl SecondaryAuthenticationFactorDevicePresenceMonitoringMode { + pub const Unsupported: Self = Self(0i32); + pub const AppManaged: Self = Self(1i32); + pub const SystemManaged: Self = Self(2i32); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresenceMonitoringMode {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresenceMonitoringMode { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus(pub i32); +impl SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus { + pub const Unsupported: Self = Self(0i32); + pub const Succeeded: Self = Self(1i32); + pub const DisabledByPolicy: Self = Self(2i32); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus { + fn clone(&self) -> Self { + *self + } +} +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorFinishAuthenticationStatus(pub i32); +impl SecondaryAuthenticationFactorFinishAuthenticationStatus { + pub const Failed: Self = Self(0i32); + pub const Completed: Self = Self(1i32); + pub const NonceExpired: Self = Self(2i32); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorFinishAuthenticationStatus {} +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; +#[repr(transparent)] +pub struct SecondaryAuthenticationFactorRegistrationStatus(pub i32); +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); +} +impl ::core::marker::Copy for SecondaryAuthenticationFactorRegistrationStatus {} +impl ::core::clone::Clone for SecondaryAuthenticationFactorRegistrationStatus { + fn clone(&self) -> Self { + *self + } +} |