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

# inputValues(_:perCredentialInputValues:)

The inputs for the PRF extension.

## Declaration

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

Return Value A configured instance of ASAuthorizationPublicKeyCredentialPRFAssertionInput.

## See Also

### Accessing input values

- [inputValues](authenticationservices/asauthorizationpublickeycredentialprfassertioninput-swift.struct/inputvalues-swift.property.md)
