objc2_authentication_services/generated/
ASAuthorizationWebBrowserExternallyAuthenticatableRequest.rs1use core::ffi::*;
4use objc2::__framework_prelude::*;
5#[cfg(feature = "objc2-local-authentication")]
6#[cfg(not(target_os = "tvos"))]
7use objc2_local_authentication::*;
8
9use crate::*;
10
11extern_protocol!(
12 pub unsafe trait ASAuthorizationWebBrowserExternallyAuthenticatableRequest:
14 NSObjectProtocol
15 {
16 #[cfg(feature = "objc2-local-authentication")]
17 #[cfg(not(target_os = "tvos"))]
18 #[unsafe(method(authenticatedContext))]
19 #[unsafe(method_family = none)]
20 unsafe fn authenticatedContext(&self) -> Option<Retained<LAContext>>;
21
22 #[cfg(feature = "objc2-local-authentication")]
23 #[cfg(not(target_os = "tvos"))]
24 #[unsafe(method(setAuthenticatedContext:))]
26 #[unsafe(method_family = none)]
27 unsafe fn setAuthenticatedContext(&self, authenticated_context: Option<&LAContext>);
28 }
29);