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/asauthorizationwebbrowserplatformpublickeycredentialassertionrequest?language=objc)
    pub unsafe trait ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest {
        #[cfg(feature = "ASPublicKeyCredentialClientData")]
        #[unsafe(method(clientData))]
        #[unsafe(method_family = none)]
        unsafe fn clientData(&self) -> Option<Retained<ASPublicKeyCredentialClientData>>;

        #[unsafe(method(shouldShowHybridTransport))]
        #[unsafe(method_family = none)]
        unsafe fn shouldShowHybridTransport(&self) -> bool;

        /// Setter for [`shouldShowHybridTransport`][Self::shouldShowHybridTransport].
        #[unsafe(method(setShouldShowHybridTransport:))]
        #[unsafe(method_family = none)]
        unsafe fn setShouldShowHybridTransport(&self, should_show_hybrid_transport: bool);
    }
);