]>
Commit | Line | Data |
---|---|---|
04454e1e | 1 | #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] |
5e7ed085 FG |
2 | #[repr(transparent)] |
3 | pub struct AuthenticationProtocol(pub i32); | |
4 | impl AuthenticationProtocol { | |
5 | pub const Basic: Self = Self(0i32); | |
6 | pub const Digest: Self = Self(1i32); | |
7 | pub const Ntlm: Self = Self(2i32); | |
8 | pub const Kerberos: Self = Self(3i32); | |
9 | pub const Negotiate: Self = Self(4i32); | |
10 | pub const CredSsp: Self = Self(5i32); | |
11 | pub const Custom: Self = Self(6i32); | |
12 | } | |
13 | impl ::core::marker::Copy for AuthenticationProtocol {} | |
14 | impl ::core::clone::Clone for AuthenticationProtocol { | |
15 | fn clone(&self) -> Self { | |
16 | *self | |
17 | } | |
18 | } | |
19 | pub type CredentialPickerOptions = *mut ::core::ffi::c_void; | |
20 | pub type CredentialPickerResults = *mut ::core::ffi::c_void; | |
04454e1e | 21 | #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] |
5e7ed085 FG |
22 | #[repr(transparent)] |
23 | pub struct CredentialSaveOption(pub i32); | |
24 | impl CredentialSaveOption { | |
25 | pub const Unselected: Self = Self(0i32); | |
26 | pub const Selected: Self = Self(1i32); | |
27 | pub const Hidden: Self = Self(2i32); | |
28 | } | |
29 | impl ::core::marker::Copy for CredentialSaveOption {} | |
30 | impl ::core::clone::Clone for CredentialSaveOption { | |
31 | fn clone(&self) -> Self { | |
32 | *self | |
33 | } | |
34 | } | |
04454e1e | 35 | #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] |
5e7ed085 FG |
36 | #[repr(transparent)] |
37 | pub struct UserConsentVerificationResult(pub i32); | |
38 | impl UserConsentVerificationResult { | |
39 | pub const Verified: Self = Self(0i32); | |
40 | pub const DeviceNotPresent: Self = Self(1i32); | |
41 | pub const NotConfiguredForUser: Self = Self(2i32); | |
42 | pub const DisabledByPolicy: Self = Self(3i32); | |
43 | pub const DeviceBusy: Self = Self(4i32); | |
44 | pub const RetriesExhausted: Self = Self(5i32); | |
45 | pub const Canceled: Self = Self(6i32); | |
46 | } | |
47 | impl ::core::marker::Copy for UserConsentVerificationResult {} | |
48 | impl ::core::clone::Clone for UserConsentVerificationResult { | |
49 | fn clone(&self) -> Self { | |
50 | *self | |
51 | } | |
52 | } | |
04454e1e | 53 | #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] |
5e7ed085 FG |
54 | #[repr(transparent)] |
55 | pub struct UserConsentVerifierAvailability(pub i32); | |
56 | impl UserConsentVerifierAvailability { | |
57 | pub const Available: Self = Self(0i32); | |
58 | pub const DeviceNotPresent: Self = Self(1i32); | |
59 | pub const NotConfiguredForUser: Self = Self(2i32); | |
60 | pub const DisabledByPolicy: Self = Self(3i32); | |
61 | pub const DeviceBusy: Self = Self(4i32); | |
62 | } | |
63 | impl ::core::marker::Copy for UserConsentVerifierAvailability {} | |
64 | impl ::core::clone::Clone for UserConsentVerifierAvailability { | |
65 | fn clone(&self) -> Self { | |
66 | *self | |
67 | } | |
68 | } |