]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Security/Authentication/Identity/Provider/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Security / Authentication / Identity / Provider / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2pub type SecondaryAuthenticationFactorAuthentication = *mut ::core::ffi::c_void;
04454e1e 3#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
4#[cfg(feature = "deprecated")]
5#[repr(transparent)]
6pub struct SecondaryAuthenticationFactorAuthenticationMessage(pub i32);
7#[cfg(feature = "deprecated")]
8impl SecondaryAuthenticationFactorAuthenticationMessage {
9 pub const Invalid: Self = Self(0i32);
10 pub const SwipeUpWelcome: Self = Self(1i32);
11 pub const TapWelcome: Self = Self(2i32);
12 pub const DeviceNeedsAttention: Self = Self(3i32);
13 pub const LookingForDevice: Self = Self(4i32);
14 pub const LookingForDevicePluggedin: Self = Self(5i32);
15 pub const BluetoothIsDisabled: Self = Self(6i32);
16 pub const NfcIsDisabled: Self = Self(7i32);
17 pub const WiFiIsDisabled: Self = Self(8i32);
18 pub const ExtraTapIsRequired: Self = Self(9i32);
19 pub const DisabledByPolicy: Self = Self(10i32);
20 pub const TapOnDeviceRequired: Self = Self(11i32);
21 pub const HoldFinger: Self = Self(12i32);
22 pub const ScanFinger: Self = Self(13i32);
23 pub const UnauthorizedUser: Self = Self(14i32);
24 pub const ReregisterRequired: Self = Self(15i32);
25 pub const TryAgain: Self = Self(16i32);
26 pub const SayPassphrase: Self = Self(17i32);
27 pub const ReadyToSignIn: Self = Self(18i32);
28 pub const UseAnotherSignInOption: Self = Self(19i32);
29 pub const ConnectionRequired: Self = Self(20i32);
30 pub const TimeLimitExceeded: Self = Self(21i32);
31 pub const CanceledByUser: Self = Self(22i32);
32 pub const CenterHand: Self = Self(23i32);
33 pub const MoveHandCloser: Self = Self(24i32);
34 pub const MoveHandFarther: Self = Self(25i32);
35 pub const PlaceHandAbove: Self = Self(26i32);
36 pub const RecognitionFailed: Self = Self(27i32);
37 pub const DeviceUnavailable: Self = Self(28i32);
38}
39#[cfg(feature = "deprecated")]
40impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationMessage {}
41#[cfg(feature = "deprecated")]
42impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationMessage {
43 fn clone(&self) -> Self {
44 *self
45 }
46}
47pub type SecondaryAuthenticationFactorAuthenticationResult = *mut ::core::ffi::c_void;
04454e1e 48#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
49#[cfg(feature = "deprecated")]
50#[repr(transparent)]
51pub struct SecondaryAuthenticationFactorAuthenticationScenario(pub i32);
52#[cfg(feature = "deprecated")]
53impl SecondaryAuthenticationFactorAuthenticationScenario {
54 pub const SignIn: Self = Self(0i32);
55 pub const CredentialPrompt: Self = Self(1i32);
56}
57#[cfg(feature = "deprecated")]
58impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationScenario {}
59#[cfg(feature = "deprecated")]
60impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationScenario {
61 fn clone(&self) -> Self {
62 *self
63 }
64}
04454e1e 65#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
66#[cfg(feature = "deprecated")]
67#[repr(transparent)]
68pub struct SecondaryAuthenticationFactorAuthenticationStage(pub i32);
69#[cfg(feature = "deprecated")]
70impl SecondaryAuthenticationFactorAuthenticationStage {
71 pub const NotStarted: Self = Self(0i32);
72 pub const WaitingForUserConfirmation: Self = Self(1i32);
73 pub const CollectingCredential: Self = Self(2i32);
74 pub const SuspendingAuthentication: Self = Self(3i32);
75 pub const CredentialCollected: Self = Self(4i32);
76 pub const CredentialAuthenticated: Self = Self(5i32);
77 pub const StoppingAuthentication: Self = Self(6i32);
78 pub const ReadyForLock: Self = Self(7i32);
79 pub const CheckingDevicePresence: Self = Self(8i32);
80}
81#[cfg(feature = "deprecated")]
82impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationStage {}
83#[cfg(feature = "deprecated")]
84impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationStage {
85 fn clone(&self) -> Self {
86 *self
87 }
88}
89pub type SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs = *mut ::core::ffi::c_void;
90pub type SecondaryAuthenticationFactorAuthenticationStageInfo = *mut ::core::ffi::c_void;
04454e1e 91#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
92#[cfg(feature = "deprecated")]
93#[repr(transparent)]
94pub struct SecondaryAuthenticationFactorAuthenticationStatus(pub i32);
95#[cfg(feature = "deprecated")]
96impl SecondaryAuthenticationFactorAuthenticationStatus {
97 pub const Failed: Self = Self(0i32);
98 pub const Started: Self = Self(1i32);
99 pub const UnknownDevice: Self = Self(2i32);
100 pub const DisabledByPolicy: Self = Self(3i32);
101 pub const InvalidAuthenticationStage: Self = Self(4i32);
102}
103#[cfg(feature = "deprecated")]
104impl ::core::marker::Copy for SecondaryAuthenticationFactorAuthenticationStatus {}
105#[cfg(feature = "deprecated")]
106impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationStatus {
107 fn clone(&self) -> Self {
108 *self
109 }
110}
04454e1e 111#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
112#[cfg(feature = "deprecated")]
113#[repr(transparent)]
114pub struct SecondaryAuthenticationFactorDeviceCapabilities(pub u32);
115#[cfg(feature = "deprecated")]
116impl SecondaryAuthenticationFactorDeviceCapabilities {
117 pub const None: Self = Self(0u32);
118 pub const SecureStorage: Self = Self(1u32);
119 pub const StoreKeys: Self = Self(2u32);
120 pub const ConfirmUserIntentToAuthenticate: Self = Self(4u32);
121 pub const SupportSecureUserPresenceCheck: Self = Self(8u32);
122 pub const TransmittedDataIsEncrypted: Self = Self(16u32);
123 pub const HMacSha256: Self = Self(32u32);
124 pub const CloseRangeDataTransmission: Self = Self(64u32);
125}
126#[cfg(feature = "deprecated")]
127impl ::core::marker::Copy for SecondaryAuthenticationFactorDeviceCapabilities {}
128#[cfg(feature = "deprecated")]
129impl ::core::clone::Clone for SecondaryAuthenticationFactorDeviceCapabilities {
130 fn clone(&self) -> Self {
131 *self
132 }
133}
04454e1e 134#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
135#[cfg(feature = "deprecated")]
136#[repr(transparent)]
137pub struct SecondaryAuthenticationFactorDeviceFindScope(pub i32);
138#[cfg(feature = "deprecated")]
139impl SecondaryAuthenticationFactorDeviceFindScope {
140 pub const User: Self = Self(0i32);
141 pub const AllUsers: Self = Self(1i32);
142}
143#[cfg(feature = "deprecated")]
144impl ::core::marker::Copy for SecondaryAuthenticationFactorDeviceFindScope {}
145#[cfg(feature = "deprecated")]
146impl ::core::clone::Clone for SecondaryAuthenticationFactorDeviceFindScope {
147 fn clone(&self) -> Self {
148 *self
149 }
150}
04454e1e 151#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
152#[cfg(feature = "deprecated")]
153#[repr(transparent)]
154pub struct SecondaryAuthenticationFactorDevicePresence(pub i32);
155#[cfg(feature = "deprecated")]
156impl SecondaryAuthenticationFactorDevicePresence {
157 pub const Absent: Self = Self(0i32);
158 pub const Present: Self = Self(1i32);
159}
160#[cfg(feature = "deprecated")]
161impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresence {}
162#[cfg(feature = "deprecated")]
163impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresence {
164 fn clone(&self) -> Self {
165 *self
166 }
167}
04454e1e 168#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
169#[cfg(feature = "deprecated")]
170#[repr(transparent)]
171pub struct SecondaryAuthenticationFactorDevicePresenceMonitoringMode(pub i32);
172#[cfg(feature = "deprecated")]
173impl SecondaryAuthenticationFactorDevicePresenceMonitoringMode {
174 pub const Unsupported: Self = Self(0i32);
175 pub const AppManaged: Self = Self(1i32);
176 pub const SystemManaged: Self = Self(2i32);
177}
178#[cfg(feature = "deprecated")]
179impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresenceMonitoringMode {}
180#[cfg(feature = "deprecated")]
181impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresenceMonitoringMode {
182 fn clone(&self) -> Self {
183 *self
184 }
185}
04454e1e 186#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
187#[cfg(feature = "deprecated")]
188#[repr(transparent)]
189pub struct SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus(pub i32);
190#[cfg(feature = "deprecated")]
191impl SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {
192 pub const Unsupported: Self = Self(0i32);
193 pub const Succeeded: Self = Self(1i32);
194 pub const DisabledByPolicy: Self = Self(2i32);
195}
196#[cfg(feature = "deprecated")]
197impl ::core::marker::Copy for SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {}
198#[cfg(feature = "deprecated")]
199impl ::core::clone::Clone for SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus {
200 fn clone(&self) -> Self {
201 *self
202 }
203}
04454e1e 204#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
205#[cfg(feature = "deprecated")]
206#[repr(transparent)]
207pub struct SecondaryAuthenticationFactorFinishAuthenticationStatus(pub i32);
208#[cfg(feature = "deprecated")]
209impl SecondaryAuthenticationFactorFinishAuthenticationStatus {
210 pub const Failed: Self = Self(0i32);
211 pub const Completed: Self = Self(1i32);
212 pub const NonceExpired: Self = Self(2i32);
213}
214#[cfg(feature = "deprecated")]
215impl ::core::marker::Copy for SecondaryAuthenticationFactorFinishAuthenticationStatus {}
216#[cfg(feature = "deprecated")]
217impl ::core::clone::Clone for SecondaryAuthenticationFactorFinishAuthenticationStatus {
218 fn clone(&self) -> Self {
219 *self
220 }
221}
222pub type SecondaryAuthenticationFactorInfo = *mut ::core::ffi::c_void;
223pub type SecondaryAuthenticationFactorRegistration = *mut ::core::ffi::c_void;
224pub type SecondaryAuthenticationFactorRegistrationResult = *mut ::core::ffi::c_void;
04454e1e 225#[doc = "*Required features: `\"Security_Authentication_Identity_Provider\"`, `\"deprecated\"`*"]
5e7ed085
FG
226#[cfg(feature = "deprecated")]
227#[repr(transparent)]
228pub struct SecondaryAuthenticationFactorRegistrationStatus(pub i32);
229#[cfg(feature = "deprecated")]
230impl SecondaryAuthenticationFactorRegistrationStatus {
231 pub const Failed: Self = Self(0i32);
232 pub const Started: Self = Self(1i32);
233 pub const CanceledByUser: Self = Self(2i32);
234 pub const PinSetupRequired: Self = Self(3i32);
235 pub const DisabledByPolicy: Self = Self(4i32);
236}
237#[cfg(feature = "deprecated")]
238impl ::core::marker::Copy for SecondaryAuthenticationFactorRegistrationStatus {}
239#[cfg(feature = "deprecated")]
240impl ::core::clone::Clone for SecondaryAuthenticationFactorRegistrationStatus {
241 fn clone(&self) -> Self {
242 *self
243 }
244}