objc2_authentication_services/generated/
ASAuthorizationWebBrowserExternallyAuthenticatableRequest.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use 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    /// [Apple's documentation](https://developer.apple.com/documentation/authenticationservices/asauthorizationwebbrowserexternallyauthenticatablerequest?language=objc)
13    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        /// Setter for [`authenticatedContext`][Self::authenticatedContext].
25        #[unsafe(method(setAuthenticatedContext:))]
26        #[unsafe(method_family = none)]
27        unsafe fn setAuthenticatedContext(&self, authenticated_context: Option<&LAContext>);
28    }
29);