-
Notifications
You must be signed in to change notification settings - Fork 16
fix: did controller #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
GHkrishna
wants to merge
6
commits into
feat/oidc-main-sync
Choose a base branch
from
fix/did-controller
base: feat/oidc-main-sync
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+943
−421
Open
fix: did controller #347
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e8fedd7
fix: add polygon resolver and registrar
GHkrishna 0f240f5
fix: restore polygon module
GHkrishna cce1d8d
fix: linting
GHkrishna e2dc911
fix: polygon controller
GHkrishna 8937502
fix: take polygon config from env for setupAgent
GHkrishna 3e2747f
fix: update rpc url
GHkrishna File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,111 +1,118 @@ | ||
| export const OpenId4VcUpdateIssuerRecordOptionsExample = { | ||
| withScope: { | ||
| value: { | ||
| issuerId: "abc-gov", | ||
| accessTokenSignerKeyType: "ed25519", | ||
| issuerId: 'abc-gov', | ||
| accessTokenSignerKeyType: 'ed25519', | ||
| display: [ | ||
| { | ||
| name: "ABC Gov", | ||
| locale: "en", | ||
| name: 'ABC Gov', | ||
| locale: 'en', | ||
| logo: { | ||
| uri: "https://upload.wikimedia.org/wikipedia/commons/2/2f/ABC-2021-LOGO.svg", | ||
| alt_text: "abc_logo", | ||
| uri: 'https://upload.wikimedia.org/wikipedia/commons/2/2f/ABC-2021-LOGO.svg', | ||
| alt_text: 'abc_logo', | ||
| }, | ||
| }, | ||
| ], | ||
| dpopSigningAlgValuesSupported: ["RS256", "ES256"], | ||
| dpopSigningAlgValuesSupported: ['RS256', 'ES256'], | ||
| credentialConfigurationsSupported: { | ||
| "VaccinationCredential-sdjwt": { | ||
| format: "vc+sd-jwt", | ||
| vct: "VaccinationCredential", | ||
| scope: "openid4vc:credential:VaccinationCredential-sdjwt", | ||
| 'VaccinationCredential-sdjwt': { | ||
| format: 'vc+sd-jwt', | ||
| vct: 'VaccinationCredential', | ||
| scope: 'openid4vc:credential:VaccinationCredential-sdjwt', | ||
| claims: { | ||
| name: { mandatory: true, value_type: "string", display: { name: "Full Name", locale: "en" } }, | ||
| vaccine: { mandatory: true, value_type: "string", display: { name: "Vaccine Type", locale: "en" } }, | ||
| lotNumber: { value_type: "string", display: { name: "Batch Number", locale: "en" } }, | ||
| performer: { value_type: "string", display: { name: "Healthcare Provider", locale: "en" } }, | ||
| doseDate: { value_type: "date", display: { name: "Date of Dose", locale: "en" } } | ||
| name: { mandatory: true, value_type: 'string', display: { name: 'Full Name', locale: 'en' } }, | ||
| vaccine: { mandatory: true, value_type: 'string', display: { name: 'Vaccine Type', locale: 'en' } }, | ||
| lotNumber: { value_type: 'string', display: { name: 'Batch Number', locale: 'en' } }, | ||
| performer: { value_type: 'string', display: { name: 'Healthcare Provider', locale: 'en' } }, | ||
| doseDate: { value_type: 'date', display: { name: 'Date of Dose', locale: 'en' } }, | ||
| }, | ||
| credential_signing_alg_values_supported: ["ES256"], | ||
| cryptographic_binding_methods_supported: ["did:key"], | ||
| credential_signing_alg_values_supported: ['ES256'], | ||
| cryptographic_binding_methods_supported: ['did:key'], | ||
| display: [ | ||
| { | ||
| name: "COVID-19 Vaccination Certificate", | ||
| description: "Proof of vaccination against COVID-19", | ||
| locale: "en" | ||
| } | ||
| ] | ||
| name: 'COVID-19 Vaccination Certificate', | ||
| description: 'Proof of vaccination against COVID-19', | ||
| locale: 'en', | ||
| }, | ||
| ], | ||
| }, | ||
| "NationalIDCredential-mdoc": { | ||
| format: "mso_mdoc", | ||
| doctype: "org.iso.18013.5.1", | ||
| scope: "openid4vc:credential:NationalIDCredential-mdoc", | ||
| 'NationalIDCredential-mdoc': { | ||
| format: 'mso_mdoc', | ||
| doctype: 'org.iso.18013.5.1', | ||
| scope: 'openid4vc:credential:NationalIDCredential-mdoc', | ||
| claims: { | ||
| family_name: { mandatory: true, value_type: "string", display: { name: "Last Name", locale: "en" } }, | ||
| given_name: { mandatory: true, value_type: "string", display: { name: "First Name", locale: "en" } }, | ||
| birth_date: { value_type: "date", display: { name: "Date of Birth", locale: "en" } }, | ||
| gender: { value_type: "string", display: { name: "Gender", locale: "en" } }, | ||
| nationality: { value_type: "string", display: { name: "Nationality", locale: "en" } }, | ||
| document_number: { mandatory: true, value_type: "string", display: { name: "Document Number", locale: "en" } }, | ||
| issuing_authority: { value_type: "string", display: { name: "Issuing Authority", locale: "en" } }, | ||
| expiry_date: { value_type: "date", display: { name: "Expiry Date", locale: "en" } } | ||
| family_name: { mandatory: true, value_type: 'string', display: { name: 'Last Name', locale: 'en' } }, | ||
| given_name: { mandatory: true, value_type: 'string', display: { name: 'First Name', locale: 'en' } }, | ||
| birth_date: { value_type: 'date', display: { name: 'Date of Birth', locale: 'en' } }, | ||
| gender: { value_type: 'string', display: { name: 'Gender', locale: 'en' } }, | ||
| nationality: { value_type: 'string', display: { name: 'Nationality', locale: 'en' } }, | ||
| document_number: { | ||
| mandatory: true, | ||
| value_type: 'string', | ||
| display: { name: 'Document Number', locale: 'en' }, | ||
| }, | ||
| issuing_authority: { value_type: 'string', display: { name: 'Issuing Authority', locale: 'en' } }, | ||
| expiry_date: { value_type: 'date', display: { name: 'Expiry Date', locale: 'en' } }, | ||
| }, | ||
| credential_signing_alg_values_supported: ["ES256"], | ||
| cryptographic_binding_methods_supported: ["did:key"], | ||
| credential_signing_alg_values_supported: ['ES256'], | ||
| cryptographic_binding_methods_supported: ['did:key'], | ||
| display: [ | ||
| { | ||
| name: "National ID", | ||
| description: "Digital government-issued identity credential", | ||
| locale: "en" | ||
| } | ||
| ] | ||
| name: 'National ID', | ||
| description: 'Digital government-issued identity credential', | ||
| locale: 'en', | ||
| }, | ||
| ], | ||
| }, | ||
| "UniversityDegreeCredential-sdjwt": { | ||
| format: "vc+sd-jwt", | ||
| vct: "UniversityDegreeCredential", | ||
| scope: "openid4vc:credential:UniversityDegreeCredential-sdjwt", | ||
| 'UniversityDegreeCredential-sdjwt': { | ||
| format: 'vc+sd-jwt', | ||
| vct: 'UniversityDegreeCredential', | ||
| scope: 'openid4vc:credential:UniversityDegreeCredential-sdjwt', | ||
| claims: { | ||
| full_name: { mandatory: true, value_type: "string", display: { name: "Full Name", locale: "en" } }, | ||
| diploma_name: { mandatory: true, value_type: "string", display: { name: "Degree Title", locale: "en" } }, | ||
| college_name: { value_type: "string", display: { name: "College/University", locale: "en" } }, | ||
| graduation_date: { value_type: "date", display: { name: "Graduation Date", locale: "en" } }, | ||
| awarded_date: { value_type: "date", display: { name: "Award Date", locale: "en" } } | ||
| full_name: { mandatory: true, value_type: 'string', display: { name: 'Full Name', locale: 'en' } }, | ||
| diploma_name: { mandatory: true, value_type: 'string', display: { name: 'Degree Title', locale: 'en' } }, | ||
| college_name: { value_type: 'string', display: { name: 'College/University', locale: 'en' } }, | ||
| graduation_date: { value_type: 'date', display: { name: 'Graduation Date', locale: 'en' } }, | ||
| awarded_date: { value_type: 'date', display: { name: 'Award Date', locale: 'en' } }, | ||
| }, | ||
| credential_signing_alg_values_supported: ["ES256", "EdDSA"], | ||
| cryptographic_binding_methods_supported: ["did:key"], | ||
| credential_signing_alg_values_supported: ['ES256', 'EdDSA'], | ||
| cryptographic_binding_methods_supported: ['did:key'], | ||
| display: [ | ||
| { | ||
| name: "University Degree Credential", | ||
| description: "Issued by a recognized educational institution", | ||
| locale: "en" | ||
| } | ||
| ] | ||
| name: 'University Degree Credential', | ||
| description: 'Issued by a recognized educational institution', | ||
| locale: 'en', | ||
| }, | ||
| ], | ||
| }, | ||
| "DrivingLicenseCredential-mdoc": { | ||
| format: "mso_mdoc", | ||
| doctype: "org.iso.18013.5.1", | ||
| scope: "openid4vc:credential:DrivingLicenseCredential-mdoc", | ||
| 'DrivingLicenseCredential-mdoc': { | ||
| format: 'mso_mdoc', | ||
| doctype: 'org.iso.18013.5.1', | ||
| scope: 'openid4vc:credential:DrivingLicenseCredential-mdoc', | ||
| claims: { | ||
| family_name: { mandatory: true, value_type: "string", display: { name: "Surname", locale: "en" } }, | ||
| given_name: { mandatory: true, value_type: "string", display: { name: "Given Name", locale: "en" } }, | ||
| birth_date: { value_type: "date", display: { name: "Date of Birth", locale: "en" } }, | ||
| issue_date: { value_type: "date", display: { name: "Issued On", locale: "en" } }, | ||
| expiry_date: { value_type: "date", display: { name: "Expires On", locale: "en" } }, | ||
| issuing_country: { value_type: "string", display: { name: "Issuing Country", locale: "en" } }, | ||
| license_number: { value_type: "string", display: { name: "License Number", locale: "en" } }, | ||
| categories_of_vehicles: { value_type: "string", display: { name: "Authorized Vehicle Types", locale: "en" } } | ||
| family_name: { mandatory: true, value_type: 'string', display: { name: 'Surname', locale: 'en' } }, | ||
| given_name: { mandatory: true, value_type: 'string', display: { name: 'Given Name', locale: 'en' } }, | ||
| birth_date: { value_type: 'date', display: { name: 'Date of Birth', locale: 'en' } }, | ||
| issue_date: { value_type: 'date', display: { name: 'Issued On', locale: 'en' } }, | ||
| expiry_date: { value_type: 'date', display: { name: 'Expires On', locale: 'en' } }, | ||
| issuing_country: { value_type: 'string', display: { name: 'Issuing Country', locale: 'en' } }, | ||
| license_number: { value_type: 'string', display: { name: 'License Number', locale: 'en' } }, | ||
| categories_of_vehicles: { | ||
| value_type: 'string', | ||
| display: { name: 'Authorized Vehicle Types', locale: 'en' }, | ||
| }, | ||
| }, | ||
| credential_signing_alg_values_supported: ["ES256"], | ||
| cryptographic_binding_methods_supported: ["did:key"], | ||
| credential_signing_alg_values_supported: ['ES256'], | ||
| cryptographic_binding_methods_supported: ['did:key'], | ||
| display: [ | ||
| { | ||
| name: "Driving License", | ||
| description: "ISO-compliant mobile driving license", | ||
| locale: "en" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }; | ||
| name: 'Driving License', | ||
| description: 'ISO-compliant mobile driving license', | ||
| locale: 'en', | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.