---
title: "perCredentialInputValues(_:)"
framework: authenticationservices
role: symbol
role_heading: Type Method
path: "authenticationservices/asauthorizationpublickeycredentialprfassertioninput-swift.struct/percredentialinputvalues(_:)"
---

# perCredentialInputValues(_:)

The inputs for the PRF extension, when not specifying general input values.

## Declaration

```swift
static func perCredentialInputValues(_ perCredentialInputValues: [Data : ASAuthorizationPublicKeyCredentialPRFAssertionInput.InputValues]) -> ASAuthorizationPublicKeyCredentialPRFAssertionInput
```

## Parameters

- `perCredentialInputValues`: This dictionary maps credentialID values to input values. If the user selects a passkey with a credentialID that matches one of these keys, the extension uses the corresponding input values. If the selected passkey doesn’t match, it doesn’t return a PRF result. When using this option, the dictionary needs to be nonempty and the request needs to use allowedCredentials.

## Return Value

Return Value A configured instance of ASAuthorizationPublicKeyCredentialPRFAssertionInput.

## See Also

### Accessing per-credential input values

- [perCredentialInputValues](authenticationservices/asauthorizationpublickeycredentialprfassertioninput-swift.struct/percredentialinputvalues.md)
