Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Proofer Logic

David Corwin edited this page Apr 16, 2018 · 2 revisions

The proofer logic determines what to do, which vendors to use, handles errors, returns standard responses, provides utilities for working with the vendors, and supports configuration. It shields the IdP from the details of interacting and supporting the proofer vendors. It may be located inside the IdP code or as a separate gem. It exposes a single method to the IdP to proof information, returning the overall proofing status and that of each and every attribute. It interacts directly with the Proofer Gem and proofer vendors

Example Logic

  • Ensure all proofer vendors are loaded into the runtime
  • Validate that all proofer vendors are implemented correctly
  • Configure which attributes each available vendors can proof
  • Proofing flow
    • if applicant not resolved?
      • find vendor
      • resolve
        • success -> continue
        • failed/error -> exit with result
    • find vendors for all non-verified attributes
    • proof
    • exit with result
Clone this wiki locally