Skip to content

Commit

Permalink
feat: Update wallet metadata for issuers #2941
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Oct 10, 2024
1 parent ce2ad0d commit 2c88eb5
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions lib/app/shared/constants/constants_json.dart
Original file line number Diff line number Diff line change
Expand Up @@ -305,26 +305,26 @@ abstract class ConstantsJson {
static const walletMetadataForIssuers = <String, dynamic>{
'vp_formats_supported': {
'jwt_vp': {
'alg_values_supported': ['ES256', 'ES256K', 'EdDSA'],
'alg': ['ES256', 'ES256K', 'EdDSA'],
},
'jwt_vc': {
'alg_values_supported': ['ES256', 'ES256K', 'EdDSA'],
'alg': ['ES256', 'ES256K', 'EdDSA'],
},
'jwt_vp_json': {
'alg_values_supported': ['ES256', 'ES256K', 'EdDSA'],
'alg': ['ES256', 'ES256K', 'EdDSA'],
},
'jwt_vc_json': {
'alg_values_supported': ['ES256', 'ES256K', 'EdDSA'],
'alg': ['ES256', 'ES256K', 'EdDSA'],
},
'vc+sd-jwt': {
'alg_values_supported': ['ES256', 'ES256K', 'EdDSA'],
'alg': ['ES256', 'ES256K', 'EdDSA'],
},
'ldp_vp': {
'proof_type': [
'JsonWebSignature2020',
'Ed25519Signature2018',
'EcdsaSecp256k1Signature2019',
'RsaSignature2018',
'RsaSignature2018'
],
},
'ldp_vc': {
Expand All @@ -337,24 +337,21 @@ abstract class ConstantsJson {
},
},
'grant_types': ['authorization code', 'pre-authorized_code'],
'redirect_uris': [Parameters.redirectUri],
'redirect_uris': [Parameters.authorizationEndPoint],
'subject_syntax_types_supported': ['did:key', 'did:jwk'],
'subject_syntax_types_discriminations': [
'did:key:jwk_jcs-pub',
'did:ebsi:v1',
],
'response_types_supported': ['vp_token', 'id_token'],
'token_endpoint_auth_method_supported': [
'none',
'client_id',
'client_secret_post',
'client_secret_basic',
'client_secret_jwt',
],
'credential_offer_endpoint_supported': [
'openid-credential-offer://',
'haip://',
],
'credential_offer_endpoint': ['openid-credential-offer://', 'haip://'],
'client_name': '${Parameters.appName} wallet',
'contacts': ['[email protected]'],
};

Expand Down

0 comments on commit 2c88eb5

Please sign in to comment.