<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFAssertionInput-swift.struct/perCredentialInputValues(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices51ASAuthorizationPublicKeyCredentialPRFAssertionInputV03perfH6ValuesyACSDy10Foundation4DataVAC0hJ0VGFZ"
  },
  "title" : "perCredentialInputValues(_:)"
}
-->

# perCredentialInputValues(_:)

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

```
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

A configured instance of `ASAuthorizationPublicKeyCredentialPRFAssertionInput`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)