---
title: allowedCredentials
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/aspasskeycredentialrequestparameters/allowedcredentials
---

# allowedCredentials

A list of passkey credentials that the relying party accepts for this challenge.

## Declaration

```swift
var allowedCredentials: [Data] { get }
```

## Discussion

Discussion If the array is empty, then the relying party accepts any passkey credential.

## See Also

### Viewing credential request parameters

- [clientDataHash](authenticationservices/aspasskeycredentialrequestparameters/clientdatahash.md)
- [relyingPartyIdentifier](authenticationservices/aspasskeycredentialrequestparameters/relyingpartyidentifier.md)
- [userVerificationPreference](authenticationservices/aspasskeycredentialrequestparameters/userverificationpreference.md)
