objc2_authentication_services/generated/
ASWebAuthenticationSessionWebBrowserSessionHandling.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
6use crate::*;
7
8extern_protocol!(
9    /// [Apple's documentation](https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsessionwebbrowsersessionhandling?language=objc)
10    pub unsafe trait ASWebAuthenticationSessionWebBrowserSessionHandling {
11        #[cfg(feature = "ASWebAuthenticationSessionRequest")]
12        /// # Safety
13        ///
14        /// `request` might not allow `None`.
15        #[unsafe(method(beginHandlingWebAuthenticationSessionRequest:))]
16        #[unsafe(method_family = none)]
17        unsafe fn beginHandlingWebAuthenticationSessionRequest(
18            &self,
19            request: Option<&ASWebAuthenticationSessionRequest>,
20        );
21
22        #[cfg(feature = "ASWebAuthenticationSessionRequest")]
23        /// # Safety
24        ///
25        /// `request` might not allow `None`.
26        #[unsafe(method(cancelWebAuthenticationSessionRequest:))]
27        #[unsafe(method_family = none)]
28        unsafe fn cancelWebAuthenticationSessionRequest(
29            &self,
30            request: Option<&ASWebAuthenticationSessionRequest>,
31        );
32    }
33);