use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct ASAuthorizationWebBrowserPlatformPublicKeyCredential;
);
extern_conformance!(
unsafe impl NSObjectProtocol for ASAuthorizationWebBrowserPlatformPublicKeyCredential {}
);
impl ASAuthorizationWebBrowserPlatformPublicKeyCredential {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(name))]
#[unsafe(method_family = none)]
pub unsafe fn name(&self) -> Retained<NSString>;
#[unsafe(method(customTitle))]
#[unsafe(method_family = none)]
pub unsafe fn customTitle(&self) -> Option<Retained<NSString>>;
#[unsafe(method(relyingParty))]
#[unsafe(method_family = none)]
pub unsafe fn relyingParty(&self) -> Retained<NSString>;
#[unsafe(method(credentialID))]
#[unsafe(method_family = none)]
pub unsafe fn credentialID(&self) -> Retained<NSData>;
#[unsafe(method(userHandle))]
#[unsafe(method_family = none)]
pub unsafe fn userHandle(&self) -> Retained<NSData>;
#[unsafe(method(providerName))]
#[unsafe(method_family = none)]
pub unsafe fn providerName(&self) -> Retained<NSString>;
);
}