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