Logo

External APIs

NECT

NECT is an identity verification service integrated into the platform. Users are required to verify their profile one time with NECT before downloading a certificate for their completed courses. In this documentation, we will provide an overview of the integration and usage of the NECT service in the application.

Overview

The NectService class is used to interact with the NECT API. It is responsible for initializing an identification process, getting the status and details of an identification process, and transforming NECT user data into a clean array format. The class is located in the App\Services namespace. Here are the main functions provided by the NectService class:

  • initIdentificationProcess(): string
  • getStatus(string $providerUuid): mixed
  • getDetails(string $providerUuid): mixed
  • transformNectUserData(array $nectData): array

Workflow

  1. When a user wants to download a certificate for their completed courses, initiate an identification process using the initIdentificationProcess() method. This method returns a NECT case UUID.
  2. To retrieve the status of an existing identification process, call the getStatus(string $providerUuid) method with the provider UUID. This method returns the status as an array.
  3. To get detailed information about an identification process, use the getDetails(string $providerUuid) method with the provider UUID. This method returns the details as an array.
  4. Once the user's identity is successfully verified, you can transform the NECT user data into a clean array format using the transformNectUserData(array $nectData) method.

Important Notes

Users are required to verify their profile one time with NECT before downloading a certificate for their completed courses. The NECT integration handles user identity verification and provides status updates on the identification process. Please refer to the NectService class for the full implementation and additional methods.

Previous
Sonix (Video-Translation)