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        #[unsafe(method(beginHandlingWebAuthenticationSessionRequest:))]
13        #[unsafe(method_family = none)]
14        unsafe fn beginHandlingWebAuthenticationSessionRequest(
15            &self,
16            request: Option<&ASWebAuthenticationSessionRequest>,
17        );
18
19        #[cfg(feature = "ASWebAuthenticationSessionRequest")]
20        #[unsafe(method(cancelWebAuthenticationSessionRequest:))]
21        #[unsafe(method_family = none)]
22        unsafe fn cancelWebAuthenticationSessionRequest(
23            &self,
24            request: Option<&ASWebAuthenticationSessionRequest>,
25        );
26    }
27);