Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Jul 26, 2024
1 parent 4c9d23a commit 0b45392
Show file tree
Hide file tree
Showing 21 changed files with 264 additions and 287 deletions.
32 changes: 7 additions & 25 deletions packages/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ Example body:
"https://ref.sphereon.com/sphereon/vc/license-context/"
],
"id": "http://localhost/vc/license/company_prefix/8790171",
"type": [
"VerifiableCredential",
"SPHEREONCompanyPrefixLicenseCredential"
],
"type": ["VerifiableCredential", "SPHEREONCompanyPrefixLicenseCredential"],
"issuer": "did:jwk:eyJhbGciOiJFZERTQSIsInVzZSI6InNpZyIsImt0eSI6Ik9LUCIsImNydiI6IkVkMjU1MTkiLCJ4IjoiaWFSbUhrUnJSa0FUSmFPTk95QllMUjNTZC10RWlqR0JBU3BuRzNyaFdEYyJ9",
"issuanceDate": "2023-06-22T00:00:00Z",
"validUntil": "2024-06-22T00:00:00Z",
Expand Down Expand Up @@ -210,10 +207,7 @@ Response:
"https://w3id.org/security/suites/jws-2020/v1"
],
"id": "http://localhost/vc/license/company_prefix/8790171",
"type": [
"VerifiableCredential",
"SPHEREONCompanyPrefixLicenseCredential"
],
"type": ["VerifiableCredential", "SPHEREONCompanyPrefixLicenseCredential"],
"issuer": "did:jwk:eyJhbGciOiJFZERTQSIsInVzZSI6InNpZyIsImt0eSI6Ik9LUCIsImNydiI6IkVkMjU1MTkiLCJ4IjoiaWFSbUhrUnJSa0FUSmFPTk95QllMUjNTZC10RWlqR0JBU3BuRzNyaFdEYyJ9",
"issuanceDate": "2023-06-22T00:00:00Z",
"validUntil": "2024-06-22T00:00:00Z",
Expand Down Expand Up @@ -272,10 +266,7 @@ Example verification body:
"https://w3id.org/security/suites/jws-2020/v1"
],
"id": "http://localhost/vc/license/company_prefix/8790171",
"type": [
"VerifiableCredential",
"SPHEREONCompanyPrefixLicenseCredential"
],
"type": ["VerifiableCredential", "SPHEREONCompanyPrefixLicenseCredential"],
"issuer": "did:jwk:eyJhbGciOiJFZERTQSIsInVzZSI6InNpZyIsImt0eSI6Ik9LUCIsImNydiI6IkVkMjU1MTkiLCJ4IjoiaWFSbUhrUnJSa0FUSmFPTk95QllMUjNTZC10RWlqR0JBU3BuRzNyaFdEYyJ9",
"issuanceDate": "2023-06-22T00:00:00Z",
"validUntil": "2024-06-22T00:00:00Z",
Expand Down Expand Up @@ -510,10 +501,7 @@ The response:
],
"id": "http://localhost:5000/vc/status-lists/1",
"issuer": "did:jwk:eyJhbGciOiJFZERTQSIsInVzZSI6InNpZyIsImt0eSI6Ik9LUCIsImNydiI6IkVkMjU1MTkiLCJ4IjoiaWFSbUhrUnJSa0FUSmFPTk95QllMUjNTZC10RWlqR0JBU3BuRzNyaFdEYyJ9",
"type": [
"VerifiableCredential",
"StatusList2021Credential"
],
"type": ["VerifiableCredential", "StatusList2021Credential"],
"credentialSubject": {
"id": "http://localhost:5000/vc/status-lists/1",
"type": "StatusList2021",
Expand Down Expand Up @@ -753,9 +741,7 @@ Response example:
"assertionMethod": [
"did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"
],
"authentication": [
"did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"
]
"authentication": ["did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"]
},
"didResolutionMetadata": {},
"didDocumentMetadata": {
Expand Down Expand Up @@ -807,12 +793,8 @@ If a DID is found it will return the DID Document (not a resolution result)
"type": "JsonWebKey2020"
}
],
"assertionMethod": [
"did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"
],
"authentication": [
"did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"
]
"assertionMethod": ["did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"],
"authentication": ["did:web:verification.sphereon.com:did:party_gln:12345678#02925110021f5d53468136ad4bf2233596bc8ee22f07c4b37548a346d643fcb73d"]
}
```

Expand Down
178 changes: 81 additions & 97 deletions packages/agent/conf/examples/oid4vci_metadata/localhost.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@
],
"format": "jwt_vc_json",
"credential_definition": {
"type": [
"VerifiableCredential",
"NaturalPerson"
]
"type": ["VerifiableCredential", "NaturalPerson"]
},
"cryptographic_binding_methods_supported": ["did:web", "did:jwk", "did:ion"],
"cryptographic_suites_supported": ["ES256", "ES256K1"]
Expand Down Expand Up @@ -117,10 +114,7 @@
],
"format": "jwt_vc_json",
"credential_definition": {
"type": [
"VerifiableCredential",
"UBO"
]
"type": ["VerifiableCredential", "UBO"]
},
"cryptographic_binding_methods_supported": ["did:web", "did:jwk", "did:ion"],
"cryptographic_suites_supported": ["ES256", "ES256K1"]
Expand Down Expand Up @@ -478,128 +472,118 @@
},
"format": "jwt_vc_json",
"cryptographic_binding_methods_supported": ["did:jwk"],
"cryptographic_suites_supported": [
"ES256"
]
"cryptographic_suites_supported": ["ES256"]
}
]
},
},
"Omzetbelasting": {
"display": [
{
"name": "Omzetbelasting",
"description": "Omzetbelastingverklaring Belastingdienst",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/pyZpF8m/Belastingdienst.png",
"alt_text": "Belastingdienst logo"
},
"background_image": {
"url": "https://i.ibb.co/c6hQwRP/hector-j-rivas.jpg",
"alt_text": "Mirrors background"
}
},
{
"locale": "en-US",
"name": "Tax registration statement",
"description": "Tax registration statement Belastingdienst",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/pyZpF8m/Belastingdienst.png",
"alt_text": "Belastingdienst logo"
},
"background_image": {
"url": "https://i.ibb.co/c6hQwRP/hector-j-rivas.jpg",
"alt_text": "Mirrors background"
}
},
{
"locale": "nl-NL",
"name": "Omzetbelasting",
"description": "Omzetbelastingverklaring Belastingdienst",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://i.ibb.co/pyZpF8m/Belastingdienst.png",
"alt_text": "Belastingdienst logo"
},
"background_image": {
"url": "https://i.ibb.co/c6hQwRP/hector-j-rivas.jpg",
"alt_text": "Mirrors background"
}
}
],
"credential_definition": {
"type": [
"VerifiableCredential",
"Omzetbelasting"
]
},
"format": "jwt_vc_json",
"cryptographic_binding_methods_supported": ["did:jwk"],
"cryptographic_suites_supported": [
"ES256"
]
}
},
"CertificationOfOrigin": {
"display": [
"display": [
{
"name": "Certificate of Origin",
"description": "Certificate of Origin",
"name": "Omzetbelasting",
"description": "Omzetbelastingverklaring Belastingdienst",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://web-wallet.demo.sphereon.com/images/card_logo.png",
"alt_text": "RWS Logo"
"url": "https://i.ibb.co/pyZpF8m/Belastingdienst.png",
"alt_text": "Belastingdienst logo"
},
"background_image": {
"url": "https://web-wallet.demo.sphereon.com/images/card_background.png",
"alt_text": "RWS background"
"url": "https://i.ibb.co/c6hQwRP/hector-j-rivas.jpg",
"alt_text": "Mirrors background"
}
},
{
"locale": "en-US",
"name": "Certificate of Origin",
"description": "Certificate of Origin",
"name": "Tax registration statement",
"description": "Tax registration statement Belastingdienst",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://web-wallet.demo.sphereon.com/images/card_logo.png",
"alt_text": "RWS Logo"
"url": "https://i.ibb.co/pyZpF8m/Belastingdienst.png",
"alt_text": "Belastingdienst logo"
},
"background_image": {
"url": "https://web-wallet.demo.sphereon.com/images/card_background.png",
"alt_text": "RWS background"
"url": "https://i.ibb.co/c6hQwRP/hector-j-rivas.jpg",
"alt_text": "Mirrors background"
}
},
{
"locale": "nl-NL",
"name": "Certificaat van oorsprong",
"description": "Certificaat van oorsprong",
"name": "Omzetbelasting",
"description": "Omzetbelastingverklaring Belastingdienst",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://web-wallet.demo.sphereon.com/images/card_logo.png",
"alt_text": "RWS Logo"
"url": "https://i.ibb.co/pyZpF8m/Belastingdienst.png",
"alt_text": "Belastingdienst logo"
},
"background_image": {
"url": "https://web-wallet.demo.sphereon.com/images/card_background.png",
"alt_text": "RWS background"
"url": "https://i.ibb.co/c6hQwRP/hector-j-rivas.jpg",
"alt_text": "Mirrors background"
}
}
],
"credential_definition": {
"type": ["VerifiableCredential", "CertificationOfOrigin"]
"type": ["VerifiableCredential", "Omzetbelasting"]
},
"format": "jwt_vc_json",
"cryptographic_binding_methods_supported": ["did:web", "did:jwk", "did:ion"],
"cryptographic_suites_supported": [
"ES256",
"ES256K1"
]
"cryptographic_binding_methods_supported": ["did:jwk"],
"cryptographic_suites_supported": ["ES256"]
}
},
"CertificationOfOrigin": {
"display": [
{
"name": "Certificate of Origin",
"description": "Certificate of Origin",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://web-wallet.demo.sphereon.com/images/card_logo.png",
"alt_text": "RWS Logo"
},
"background_image": {
"url": "https://web-wallet.demo.sphereon.com/images/card_background.png",
"alt_text": "RWS background"
}
},
{
"locale": "en-US",
"name": "Certificate of Origin",
"description": "Certificate of Origin",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://web-wallet.demo.sphereon.com/images/card_logo.png",
"alt_text": "RWS Logo"
},
"background_image": {
"url": "https://web-wallet.demo.sphereon.com/images/card_background.png",
"alt_text": "RWS background"
}
},
{
"locale": "nl-NL",
"name": "Certificaat van oorsprong",
"description": "Certificaat van oorsprong",
"background_color": "rgba(0, 0, 0, 0.2)",
"text_color": "#FBFBFB",
"logo": {
"url": "https://web-wallet.demo.sphereon.com/images/card_logo.png",
"alt_text": "RWS Logo"
},
"background_image": {
"url": "https://web-wallet.demo.sphereon.com/images/card_background.png",
"alt_text": "RWS background"
}
}
],
"credential_definition": {
"type": ["VerifiableCredential", "CertificationOfOrigin"]
},
"format": "jwt_vc_json",
"cryptographic_binding_methods_supported": ["did:web", "did:jwk", "did:ion"],
"cryptographic_suites_supported": ["ES256", "ES256K1"]
}
}
}
Loading

0 comments on commit 0b45392

Please sign in to comment.