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::*;
#[cfg(feature = "objc2-local-authentication")]
#[cfg(not(target_os = "tvos"))]
use objc2_local_authentication::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/authenticationservices/asauthorizationwebbrowserexternallyauthenticatablerequest?language=objc)
    pub unsafe trait ASAuthorizationWebBrowserExternallyAuthenticatableRequest:
        NSObjectProtocol
    {
        #[cfg(feature = "objc2-local-authentication")]
        #[cfg(not(target_os = "tvos"))]
        #[unsafe(method(authenticatedContext))]
        #[unsafe(method_family = none)]
        unsafe fn authenticatedContext(&self) -> Option<Retained<LAContext>>;

        #[cfg(feature = "objc2-local-authentication")]
        #[cfg(not(target_os = "tvos"))]
        /// Setter for [`authenticatedContext`][Self::authenticatedContext].
        #[unsafe(method(setAuthenticatedContext:))]
        #[unsafe(method_family = none)]
        unsafe fn setAuthenticatedContext(&self, authenticated_context: Option<&LAContext>);
    }
);