Class AssociationFileExporter

java.lang.Object
io.jans.fido2.service.readiness.AssociationFileExporter

@ApplicationScoped public class AssociationFileExporter extends Object
Produces the assetlinks.json and apple-app-site-association files of a configured relying party, for the admin to deploy on the RP-ID host. Both come from ExpectedAssociationFileBuilder, the same definition the readiness checker compares the deployed files against. Nothing is fetched or served from here.
  • Constructor Details

    • AssociationFileExporter

      public AssociationFileExporter()
  • Method Details

    • assetLinks

      public com.fasterxml.jackson.databind.JsonNode assetLinks(String rpConfigId)
      Throws:
      NativeReadinessService.NotFound - when no relying party has that id, or it has no Android app to describe
    • appleAppSiteAssociation

      public com.fasterxml.jackson.databind.JsonNode appleAppSiteAssociation(String rpConfigId)
      Throws:
      NativeReadinessService.NotFound - when no relying party has that id, or it has no complete iOS app to describe