---
title: ASAuthorizationError.Code.matchedExcludedCredential
framework: authenticationservices
role: symbol
role_heading: Case
path: authenticationservices/asauthorizationerror-swift.struct/code/matchedexcludedcredential
---

# ASAuthorizationError.Code.matchedExcludedCredential

This error should only be returned when specifying @c excludedCredentials on a public key credential registration request.

## Declaration

```swift
case matchedExcludedCredential
```
