Skip to content

Releases: getyoti/yoti-php-sdk

4.2.2

21 Feb 14:08
c9a2b35
Compare
Choose a tag to compare

Fixed

  • ActivityDetails getProfile() function retrieves empty User profile
  • DBS Check example get error when showing user profile

4.2.1

19 Jul 06:27
4401a3d
Compare
Choose a tag to compare

Added

  • Updated session config to configure consent screen location

Requested with

->withSdkConfig(
                (new SdkConfigBuilder())
                    ->withAllowsCameraAndUpload()
                    ->withPrimaryColour('#2d9fff')
                    ->withSecondaryColour('#FFFFFF')
                    ->withFontColour('#FFFFFF')
                    ->withLocale('en-GB')
                    ->withPresetIssuingCountry('GBR')
                    ->withSuccessUrl(config('app.url') . '/success')
                    ->withErrorUrl(config('app.url') . '/error')
                    ->withPrivacyPolicyUrl(config('app.url') . '/privacy-policy')
                    ->withBiometricConsentFlow('EARLY')
                    ->build()
            )

Added

  • Support for show enable expanded document fields media

Requested with

->withRequestedTask(
                (new RequestedTextExtractionTaskBuilder())
                    ->withManualCheckAlways()
                    ->withChipDataDesired()
                    ->withCreateExpandedDocumentFields(true)
                    ->build()
            )

Fixed

  • Fixed a bug that occurs when retrieving advanced checks

Release 4.2.0

03 Feb 20:36
102de43
Compare
Choose a tag to compare
  • was added support to fetch the identity profile preview
withCreateIdentityProfilePreview()
  • was added support for requesting the profile preview
getIdentityProfilePreview()
  • renamed retries as attempts
withIdDocumentTextExtractionGenericRetries() -> withIdDocumentTextExtractionGenericAttempts()
  • was added method to request client session completed notification
forClientSessionCompletion()
  • was updated symfony/phpunit-bridge from ^5.1 to ^6.2
  • small fixes for Logger type hinting

Release 4.1.0

01 Nov 11:12
aa8cd8e
Compare
Choose a tag to compare
  • Was added support for a static liveness check
  • Was added support for allowing the Relying Business to enable/disable the use of expired documents
  (new OrthogonalRestrictionsFilterBuilder())
            -> withAllowExpiredDocuments()  // enable
             ->withDenyExpiredDocuments() // disable
             ->build();
  • Was added support for a face comparison check
  • Was fixed bug with 'uploadFaceCaptureImage' function
  • Support only for php7.4.* + php 8.0.* + php8.1.* version
  • Was updated guzzle http/guzzle to ^7.0 version
  • Was updated guzzle http/psr7 to ^2.4 version
  • Was removed php7.1 support

Release 3.9.2

01 Nov 11:14
Compare
Choose a tag to compare
  • was fixed bug with getSource() in ResourceResponse

Release 4.0.0

07 Jun 14:29
73e716e
Compare
Choose a tag to compare

Profile

Added

  • withIdentityProfileRequirements() to DynamicPolicyBuilder to specify Identity Profile Requirements:
        $identityProfileSample = (object)[
            'trust_framework' => 'UK_TFIDA',
            'scheme' => [
                'type' => 'DBS',
                'objective' => 'STANDARD'
            ]
        ];
       
        $dynamicPolicy = (new DynamicPolicyBuilder())
            ->withIdentityProfileRequirements($identityProfileSample)
            ->build();
  • withSubject() to DynamicScenarioBuilder to specify subject_id when used with withIdentityProfileRequirements():
        $subjectSample = (object)[
          'subject_id' => 'SOME_STRING'
        ];
        $dynamicScenario = (new DynamicScenarioBuilder())
            ->withPolicy($somePolicy)
            ->withSubject($subjectSample)
            ->build();
  • Identity Profile Report attribute (JSON):
    public function getIdentityProfileReport()
    {
        return $this->identityProfileReport;
    }
  • getId() to Yoti attribute:
    public function getId(): ?string
    {
        return $this->id;
    }
  • getAttributeById() to Yoti profile:
$selfie = $yotiProfile->getAttributeById(self::SOME_ID_1));
$documentImages = $yotiProfile->getAttributeById(self::SOME_ID_2));

IDV

Added

  • Ability to specify Identity Profile Requirements and subject_id using withIdentityProfileRequirements() and withSubject() on SessionSpecificationBuilder:
        $sessionSpecification = (new SessionSpecificationBuilder())
            ->withIdentityProfileRequirements((object)[
            'trust_framework' => 'UK_TFIDA',
            'scheme' => [
                'type' => 'DBS',
                'objective' => 'STANDARD'
            ])
            ->withSubject((object)[1 => 'some'];)
            ->build();
  • IdentityProfile to IDV GetSessionResult:
IdentityProfileResponse $identityProfile = $sessionResult->getIdentityProfile();
string $subjectId = $sessionResult->getIdentityProfile()->getSubjectId();
string $result = $sessionResult->getIdentityProfile()->getResult());
string $failureReasonCode = $sessionResult->getIdentityProfile()->getFailureReason()->getStringCode();

MediaID can be retrieved with:

string $mediaId = $sessionResult->getIdentityProfile()->getIdentityProfileReport()["media"]["id"]

and used to retrieve the full identity profile report as JSON with a separate call:

Media $media = $docScanClient->getMediaContent("your-session-id", $mediaId);

3.9.1

18 Mar 18:21
Compare
Choose a tag to compare

Fix for WatchlistAdvancedCACheck

3.9.0

18 Feb 20:22
Compare
Choose a tag to compare

Changes

Added

  • Ability to request a session be performed In-Branch (IBV)
  • Support for managing instructions flow as Relying Business for IBV
    • Setting the instructions
    • Retrieving currently set instructions
    • Fetching the contact profile set by the end user
    • Retrieving the generated instructions PDF
    • Triggering the email notification
  • Support for non-latin documents when creating a session using DOCUMENT_RESTRICTIONS
  • Updated phpseclib from 2.0 to 3.0

3.8.0

21 Jan 11:00
9b96576
Compare
Choose a tag to compare

Changes

Added

  • Support for non-latin documents at session creation
  • Support for non-latin documents when fetching session configuration
  • Support for non-latin documents when fetching supported documents

3.7.0

21 Dec 10:56
25cbde5
Compare
Choose a tag to compare

Changes

Added

  • Ability to create Face Capture resources, and upload images to created resources
  • Ability to fetch session configuration
  • Flag for enabling/disabling mobile handoff
  • Ability to request an Issuing Authority sub-check for a Document Authenticity check
  • Ability to set the session deadline using a ZonedDateTime
    • This is instead of using the current client session token expiry (set in seconds)
  • Support for WATCHLIST_ADVANCED_CA check in Doc Scan
  • Support for WATCHLIST_SCREENING check in Doc Scan