Skip to content

Commit

Permalink
feat: Remove -none- from the VC format choice #3194
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Dec 13, 2024
1 parent f208d13 commit 5a5cc26
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion lib/dashboard/profile/models/profile_setting.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions packages/oidc4vc/lib/src/vc_format_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ enum VCFormatType {
vcSdJWT,
@JsonValue('auto')
auto,
@JsonValue('none')
none,
}

extension VCFormatTypeX on VCFormatType {
Expand All @@ -32,8 +30,6 @@ extension VCFormatTypeX on VCFormatType {
return 'vc+sd-jwt';
case VCFormatType.auto:
return 'auto';
case VCFormatType.none:
return 'none';
}
}

Expand All @@ -58,8 +54,6 @@ extension VCFormatTypeX on VCFormatType {

case VCFormatType.auto:
return 'auto';
case VCFormatType.none:
return 'none';
}
}

Expand All @@ -72,9 +66,7 @@ extension VCFormatTypeX on VCFormatType {
case VCFormatType.jwtVcJsonLd:
case VCFormatType.vcSdJWT:
case VCFormatType.auto:
case VCFormatType.none:
return false;
// TODO: Handle this case.
}
}

Expand All @@ -92,8 +84,6 @@ extension VCFormatTypeX on VCFormatType {
return 'vc+sd-jwt';
case VCFormatType.auto:
return 'auto';
case VCFormatType.none:
return 'none';
}
}
}
Expand Down

0 comments on commit 5a5cc26

Please sign in to comment.