diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs b/vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs new file mode 100644 index 000000000..b7a436c40 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Security/Authentication/Web/mod.rs @@ -0,0 +1,49 @@ +#[cfg(feature = "Security_Authentication_Web_Core")] +pub mod Core; +#[cfg(feature = "Security_Authentication_Web_Provider")] +pub mod Provider; +#[doc = "*Required features: `\"Security_Authentication_Web\"`*"] +#[repr(transparent)] +pub struct TokenBindingKeyType(pub i32); +impl TokenBindingKeyType { + pub const Rsa2048: Self = Self(0i32); + pub const EcdsaP256: Self = Self(1i32); + pub const AnyExisting: Self = Self(2i32); +} +impl ::core::marker::Copy for TokenBindingKeyType {} +impl ::core::clone::Clone for TokenBindingKeyType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Security_Authentication_Web\"`*"] +#[repr(transparent)] +pub struct WebAuthenticationOptions(pub u32); +impl WebAuthenticationOptions { + pub const None: Self = Self(0u32); + pub const SilentMode: Self = Self(1u32); + pub const UseTitle: Self = Self(2u32); + pub const UseHttpPost: Self = Self(4u32); + pub const UseCorporateNetwork: Self = Self(8u32); +} +impl ::core::marker::Copy for WebAuthenticationOptions {} +impl ::core::clone::Clone for WebAuthenticationOptions { + fn clone(&self) -> Self { + *self + } +} +pub type WebAuthenticationResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_Authentication_Web\"`*"] +#[repr(transparent)] +pub struct WebAuthenticationStatus(pub i32); +impl WebAuthenticationStatus { + pub const Success: Self = Self(0i32); + pub const UserCancel: Self = Self(1i32); + pub const ErrorHttp: Self = Self(2i32); +} +impl ::core::marker::Copy for WebAuthenticationStatus {} +impl ::core::clone::Clone for WebAuthenticationStatus { + fn clone(&self) -> Self { + *self + } +} |