Local FIDO Client

The LocalFIDOClient class is returned by a fido2ClientManger.getClient("rp.id") and has four methods available.

client.attestationOptions(String options)
  • Request an attestation challenge
  • If no attestation options are provided, the client will fall back to the Relying Party's default values
client.attestatonResult(String attestation)
  • Validate an attestation response after calling attestationOptions
  • Returns a status of ok for successful attestations or failed for error cases
client.assertionOptions(String options)
  • Request an assertion challenge
  • If no assertion options are provided, the client will fall back to Relying Party's default values
client.assertionResult(String assertion)
  • Validate an assertion response after calling assertionOptions
  • Returns a status of ok for successful assertions or failed for error cases

Every method of LocalFIDOClient takes a JSON String (JSON.stringify in JavaScript) and returns a JSON String (which can be parsed using JSON.parse in JavaScript). InfoMap users are required to check the returned status field to check if requests were successful.

Using the Local FIDO Client

To use the client, call one of the four available methods (attestationOptions, attestationResult, assertionOptions, assertionResult) and populate a template page with values returned from the Relying Party.

An example InfoMap rule can be found in access_control/examples/mapping_rules directory of the file downloads section of an ISAM appliance.