<!--
{
  "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/inputValues(_:perCredentialInputValues:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices51ASAuthorizationPublicKeyCredentialPRFAssertionInputV11inputValues_03perfhJ0A2C0hJ0V_SDy10Foundation4DataVAGGSgtFZ"
  },
  "title" : "inputValues(_:perCredentialInputValues:)"
}
-->

# inputValues(_:perCredentialInputValues:)

The inputs for the PRF extension.

```
static func inputValues(_ inputValues: ASAuthorizationPublicKeyCredentialPRFAssertionInput.InputValues, perCredentialInputValues: [Data : ASAuthorizationPublicKeyCredentialPRFAssertionInput.InputValues]? = nil) -> ASAuthorizationPublicKeyCredentialPRFAssertionInput
```

## Parameters

`inputValues`

The default inputs to use for generating the PRF.

`perCredentialInputValues`

This optional dictionary maps `credentialID` values to alternate input values. If the user selects a passkey with a `credentialID` that matches one of these keys, the extension uses the corresponding input values instead of those from the first argument. When specifying a nonempty value here, the request uses `allowedCredentials`.

## Return Value

A configured instance of [`ASAuthorizationPublicKeyCredentialPRFAssertionInput`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialPRFAssertionInput-swift.struct).

## Discussion

---

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)