Skip to content

v3.22.0

Compare
Choose a tag to compare
@laurent-yoti laurent-yoti released this 05 Jul 14:06
· 109 commits to master since this release

Added

Support of DBS / RTW / RTR verification via IDV (doc-scan).

With Yoti platform now enabling verification of identity profile through the IDV (doc-scan), this new SDK version exposes the feature.

  1. Create a doc-scan session with an identity profile verification:
const identityProfileRequirements = {
     trust_framework: 'UK_TFIDA',
     scheme: {
       type: 'DBS',
       objective: 'BASIC',
    }
}

const sdkConfig = new SdkConfigBuilder()
    .withAllowHandoff(true)
    .build()

const sessionSpec = new SessionSpecificationBuilder()
    .withSubject(subject)
    .withIdentityProfileRequirements(identityProfileRequirements)
    .withSdkConfig(sdkConfig)
    .build();

See examples for more options on identityProfileRequirements.

  1. Handle session result with identity profile:
const sessionResult = await docScanClient.getSession(sessionId);
const identityProfile = sessionResult.getIdentityProfile()
const identityProfileReport = identityProfile.getIdentityProfileReport
// identityProfileReport.getTrustFramework()
// identityProfileReport.getSchemesCompliance()

Examples

See examples for more details about the on identityProfileReport.

Screenshots:

Screenshot 2022-06-09 at 2 00 49 pm

Screenshot 2022-06-09 at 2 00 59 pm

Screenshot 2022-06-09 at 2 01 13 pm

Screenshot 2022-06-09 at 2 01 26 pm

Screenshot 2022-06-09 at 2 01 38 pm