---
title: ASPasskeyAssertionCredential
framework: authenticationservices
role: symbol
role_heading: Class
path: authenticationservices/aspasskeyassertioncredential
---

# ASPasskeyAssertionCredential

A passkey assertion credential.

## Declaration

```swift
class ASPasskeyAssertionCredential
```

## Overview

Overview Create a passkey assertion credential to provide a response to a passkey authentication challenge from your credential provider extension. Call completeAssertionRequest(using:completionHandler:), passing your passkey assertion credential.

## Topics

### Creating a passkey assertion credential

- [init(userHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:)](authenticationservices/aspasskeyassertioncredential/init(userhandle:relyingparty:signature:clientdatahash:authenticatordata:credentialid:).md)
- [init(userHandle:relyingParty:signature:clientDataHash:authenticatorData:credentialID:extensionOutput:)](authenticationservices/aspasskeyassertioncredential/init(userhandle:relyingparty:signature:clientdatahash:authenticatordata:credentialid:extensionoutput:).md)

### Accessing credential information

- [authenticatorData](authenticationservices/aspasskeyassertioncredential/authenticatordata.md)
- [clientDataHash](authenticationservices/aspasskeyassertioncredential/clientdatahash.md)
- [credentialID](authenticationservices/aspasskeyassertioncredential/credentialid.md)
- [relyingParty](authenticationservices/aspasskeyassertioncredential/relyingparty.md)
- [signature](authenticationservices/aspasskeyassertioncredential/signature.md)
- [userHandle](authenticationservices/aspasskeyassertioncredential/userhandle.md)

### Accessing extension output

- [extensionOutput](authenticationservices/aspasskeyassertioncredential/extensionoutput-7t6rn.md)
- [ASPasskeyAssertionCredentialExtensionOutput](authenticationservices/aspasskeyassertioncredentialextensionoutput-swift.struct.md)

### Initializers

- [init(coder:)](authenticationservices/aspasskeyassertioncredential/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [ASAuthorizationCredential](authenticationservices/asauthorizationcredential.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Providing credentials

- [completeRequest(withSelectedCredential:completionHandler:)](authenticationservices/ascredentialproviderextensioncontext/completerequest(withselectedcredential:completionhandler:).md)
- [completeAssertionRequest(using:completionHandler:)](authenticationservices/ascredentialproviderextensioncontext/completeassertionrequest(using:completionhandler:).md)
- [completeRegistrationRequest(using:completionHandler:)](authenticationservices/ascredentialproviderextensioncontext/completeregistrationrequest(using:completionhandler:).md)
- [completeOneTimeCodeRequest(using:completionHandler:)](authenticationservices/ascredentialproviderextensioncontext/completeonetimecoderequest(using:completionhandler:).md)
- [ASPasswordCredential](authenticationservices/aspasswordcredential.md)
- [ASPasskeyRegistrationCredential](authenticationservices/aspasskeyregistrationcredential.md)
- [ASOneTimeCodeCredential](authenticationservices/asonetimecodecredential.md)
