1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Security_Authentication_Web_Core")]
4 #[cfg(feature = "Security_Authentication_Web_Provider")]
6 #[link(name = "windows")]
9 pub struct TokenBindingKeyType(pub i32);
10 impl TokenBindingKeyType
{
11 pub const Rsa2048
: Self = Self(0i32);
12 pub const EcdsaP256
: Self = Self(1i32);
13 pub const AnyExisting
: Self = Self(2i32);
15 impl ::core
::marker
::Copy
for TokenBindingKeyType {}
16 impl ::core
::clone
::Clone
for TokenBindingKeyType
{
17 fn clone(&self) -> Self {
22 pub struct WebAuthenticationOptions(pub u32);
23 impl WebAuthenticationOptions
{
24 pub const None
: Self = Self(0u32);
25 pub const SilentMode
: Self = Self(1u32);
26 pub const UseTitle
: Self = Self(2u32);
27 pub const UseHttpPost
: Self = Self(4u32);
28 pub const UseCorporateNetwork
: Self = Self(8u32);
30 impl ::core
::marker
::Copy
for WebAuthenticationOptions {}
31 impl ::core
::clone
::Clone
for WebAuthenticationOptions
{
32 fn clone(&self) -> Self {
36 pub type WebAuthenticationResult
= *mut ::core
::ffi
::c_void
;
38 pub struct WebAuthenticationStatus(pub i32);
39 impl WebAuthenticationStatus
{
40 pub const Success
: Self = Self(0i32);
41 pub const UserCancel
: Self = Self(1i32);
42 pub const ErrorHttp
: Self = Self(2i32);
44 impl ::core
::marker
::Copy
for WebAuthenticationStatus {}
45 impl ::core
::clone
::Clone
for WebAuthenticationStatus
{
46 fn clone(&self) -> Self {