Contents

inputValues(_:perCredentialInputValues:)

The inputs for the PRF extension.

Declaration

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.

See Also

Accessing input values