objc2-authentication-services 0.3.2

Bindings to the AuthenticationServices framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsessionwebbrowsersessionhandling?language=objc)
    pub unsafe trait ASWebAuthenticationSessionWebBrowserSessionHandling {
        #[cfg(feature = "ASWebAuthenticationSessionRequest")]
        /// # Safety
        ///
        /// `request` might not allow `None`.
        #[unsafe(method(beginHandlingWebAuthenticationSessionRequest:))]
        #[unsafe(method_family = none)]
        unsafe fn beginHandlingWebAuthenticationSessionRequest(
            &self,
            request: Option<&ASWebAuthenticationSessionRequest>,
        );

        #[cfg(feature = "ASWebAuthenticationSessionRequest")]
        /// # Safety
        ///
        /// `request` might not allow `None`.
        #[unsafe(method(cancelWebAuthenticationSessionRequest:))]
        #[unsafe(method_family = none)]
        unsafe fn cancelWebAuthenticationSessionRequest(
            &self,
            request: Option<&ASWebAuthenticationSessionRequest>,
        );
    }
);