Contents

perCredentialInputValues(_:)

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

Declaration

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.

See Also

Accessing per-credential input values