objc2_authentication_services/generated/
ASAuthorizationPublicKeyCredentialRegistration.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2::__framework_prelude::*;
4use objc2_foundation::*;
5
6use crate::*;
7
8extern_protocol!(
9    /// [Apple's documentation](https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialregistration?language=objc)
10    #[cfg(all(
11        feature = "ASAuthorizationCredential",
12        feature = "ASPublicKeyCredential"
13    ))]
14    pub unsafe trait ASAuthorizationPublicKeyCredentialRegistration:
15        ASPublicKeyCredential
16    {
17        /// The raw data containing the authenticator's attestation statement, if one was provided.
18        #[unsafe(method(rawAttestationObject))]
19        #[unsafe(method_family = none)]
20        unsafe fn rawAttestationObject(&self) -> Option<Retained<NSData>>;
21    }
22);