Skip to content

Commit

Permalink
Over18: enable id360 issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Feb 21, 2024
1 parent 618d619 commit e6543af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
8 changes: 0 additions & 8 deletions ios/fastlane/.Appfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,11 @@ extension CredentialSubjectTypeExtension on CredentialSubjectType {
image = ImageStrings.dummyOver18Card;
switch (vcFormatType) {
case VCFormatType.ldpVc:
link = ''; // handle by aivalidation url

/// id360 link use to oidc4vc over18 credential.
/// another link is automatically used when getting the credential
/// through yoti.
link = 'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over18';
case VCFormatType.jwtVcJson:
link = Urls.over18JWTVCJSON;
case VCFormatType.jwtVc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ Future<void> discoverCredential({
/// AI KYC
if (vcFormatType == VCFormatType.ldpVc &&
dummyCredential.credentialSubjectType.checkForAIKYC) {
/// temporary: For Over18 with VCFormatType.ldpVc let's go directly for yoti
if (dummyCredential.credentialSubjectType ==
CredentialSubjectType.over18) {
await Navigator.of(context).push<void>(
VerifyAgePage.route(
credentialSubjectType: dummyCredential.credentialSubjectType,
),
);
}

/// For DefiCompliance, it is not necessary to use Yoti. Instead,
/// we can directly proceed with Id360.
Expand Down

0 comments on commit e6543af

Please sign in to comment.