Skip to content

Conversation

@mehmet-yoti
Copy link
Contributor

@mehmet-yoti mehmet-yoti commented Jan 26, 2024

Added

  • Added support for enabling expanded document fields
  • Added support to retrieve expanded doc fields and media, added succeed page examples

Example:

 .WithRequestedTask(
                    new RequestedTextExtractionTaskBuilder()
                    .WithManualCheckFallback()
                    .WithChipDataDesired()
                    .WithCreateExpandedDocumentFields()
                    .Build()
                )

Added

  • Added support for advanced identity profiles to share v1

Example:

AdvancedIdentityProfile data = new AdvancedIdentityProfile
            {
                profiles = new List<Profile>
            {
                new Profile
                {
                    trust_framework = "UK_TFIDA",
                    schemes = new List<Scheme>
                    {
                        new Scheme
                        {
                            label = "LB912",
                            type = "RTW"
                        }
                    }
                },
                new Profile
                {
                    trust_framework = "YOTI_GLOBAL",
                    schemes = new List<Scheme>
                    {
                        new Scheme
                        {
                            label = "LB321",
                            type = "IDENTITY",
                            objective = "AL_L1"
                        }
                    }
                }
            }
            };

            var sessionSpec = new SessionSpecificationBuilder()
                .WithClientSessionTokenTtl(600)
                .WithResourcesTtl(90000)
                .WithUserTrackingId("some-user-tracking-id")
                .WithSdkConfig(
                    new SdkConfigBuilder()
                    .WithAllowsCameraAndUpload()
                    .WithPrimaryColour("#2d9fff")
                    .WithSecondaryColour("#FFFFFF")
                    .WithFontColour("#FFFFFF")
                    .WithLocale("en-GB")
                    .WithPresetIssuingCountry("GBR")
                    .WithSuccessUrl($"{_baseUrl}/idverify/success")
                    .WithErrorUrl($"{_baseUrl}/idverify/error")
                    .WithPrivacyPolicyUrl($"{_baseUrl}/privacy-policy")
                    .Build()
                    )
                .WithCreateIdentityProfilePreview(true)
                .WithAdvancedIdentityProfileRequirements(data)
                .WithSubject(new
                {
                    subject_id = "some_subject_id_string"
                })    
            .Build();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace .WithManualCheckAlways() with .WithManualCheckFallback()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated except ShouldBuildWithManualCheckAlways test because it tests always rule

@saurabh-yoti saurabh-yoti self-requested a review February 13, 2024 16:34
Copy link

@saurabh-yoti saurabh-yoti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mehmet-yoti mehmet-yoti merged commit d53bf73 into master Feb 13, 2024
mehmet-yoti added a commit that referenced this pull request Oct 11, 2024
* SDK-2368: added advanced identity profiles for share1 and idv
* SDK-2342: added support for enabling expanded document fields
* SDK-2341: added support to retrieve expanded doc fields and media, added succedd page example
* SDK-2342: updated test fw version for security and azure pipelines
* SDK-2341 Removed CameraAndUpload on dbs example page
* Sdk 2368: Generated Advanced Identity Profile Example Page
* Create new issue template workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants