// Copyright © 2020 Apple Inc. All rights reserved. #import #import #import #import #import NS_HEADER_AUDIT_BEGIN(nullability, sendability) API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos, tvos) @interface ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest : ASAuthorizationRequest /*! @abstract A list of parameters for the new credential which are supported by the Relying Party. The authenticator should choose from these parameters when creating the credential. */ @property (nonatomic, copy) NSArray *credentialParameters; /*! @abstract A list of descriptors indicating credentials which must not already exist on the authenticator. If a credential already exists on the authenticator which matches one or more of these descriptors, a new credential will not be created and authentication will fail. */ @property (nonatomic, copy) NSArray *excludedCredentials; /*! @abstract A preference whether the authenticator should store the private key of the newly created credential. */ @property (nonatomic) ASAuthorizationPublicKeyCredentialResidentKeyPreference residentKeyPreference; + (instancetype)new NS_UNAVAILABLE; - (instancetype)init NS_UNAVAILABLE; @end NS_HEADER_AUDIT_END(nullability, sendability)