@@ -160,14 +160,14 @@ export class OpenId4VciSdJwtCredentialSupportedWithId extends OpenId4VciCredenti
160160 public static fromOpenIdVcCredentialSupportedWithId (
161161 record : CredoCredentialConfigurationSupportedWithId ,
162162 ) : OpenId4VciSdJwtCredentialSupportedWithId {
163- const r = record as SdJwtConfigRecord
163+ const sdJwtRecord = record as SdJwtConfigRecord
164164 return new OpenId4VciSdJwtCredentialSupportedWithId ( {
165- id : r . id ,
165+ id : sdJwtRecord . id ,
166166 format : CredentialFormat . SdJwt ,
167- vct : r . vct ,
168- claims : r . claims ,
169- order : r . order ,
170- display : r . display ,
167+ vct : sdJwtRecord . vct ,
168+ claims : sdJwtRecord . claims ,
169+ order : sdJwtRecord . order ,
170+ display : sdJwtRecord . display ,
171171 } )
172172 }
173173}
@@ -191,12 +191,12 @@ export class OpenId4VciJwtVcJsonCredentialSupportedWithId extends OpenId4VciCred
191191 public static fromOpenIdVcCredentialSupportedWithId (
192192 record : CredoCredentialConfigurationSupportedWithId ,
193193 ) : OpenId4VciJwtVcJsonCredentialSupportedWithId {
194- const r = record as JwtVcJsonConfigRecord
194+ const jwtVcJsonRecord = record as JwtVcJsonConfigRecord
195195 return new OpenId4VciJwtVcJsonCredentialSupportedWithId ( {
196- id : r . id ,
196+ id : jwtVcJsonRecord . id ,
197197 format : CredentialFormat . JwtJson ,
198- credential_definition : r . credential_definition ,
199- display : r . display ,
198+ credential_definition : jwtVcJsonRecord . credential_definition ,
199+ display : jwtVcJsonRecord . display ,
200200 } )
201201 }
202202}
@@ -220,12 +220,12 @@ export class OpenId4VciJwtVcJsonLdCredentialSupportedWithId extends OpenId4VciCr
220220 public static fromOpenIdVcCredentialSupportedWithId (
221221 record : CredoCredentialConfigurationSupportedWithId ,
222222 ) : OpenId4VciJwtVcJsonLdCredentialSupportedWithId {
223- const r = record as JwtVcJsonLdConfigRecord
223+ const jwtVcJsonLdRecord = record as JwtVcJsonLdConfigRecord
224224 return new OpenId4VciJwtVcJsonLdCredentialSupportedWithId ( {
225- id : r . id ,
225+ id : jwtVcJsonLdRecord . id ,
226226 format : CredentialFormat . JwtVcJsonLd ,
227- credential_definition : r . credential_definition ,
228- display : r . display ,
227+ credential_definition : jwtVcJsonLdRecord . credential_definition ,
228+ display : jwtVcJsonLdRecord . display ,
229229 } )
230230 }
231231}
@@ -249,12 +249,12 @@ export class OpenId4VciLdpVcCredentialSupportedWithId extends OpenId4VciCredenti
249249 public static fromOpenIdVcCredentialSupportedWithId (
250250 record : CredoCredentialConfigurationSupportedWithId ,
251251 ) : OpenId4VciLdpVcCredentialSupportedWithId {
252- const r = record as LdpVcConfigRecord
252+ const ldpVcRecord = record as LdpVcConfigRecord
253253 return new OpenId4VciLdpVcCredentialSupportedWithId ( {
254- id : r . id ,
254+ id : ldpVcRecord . id ,
255255 format : CredentialFormat . LdpVc ,
256- credential_definition : r . credential_definition ,
257- display : r . display ,
256+ credential_definition : ldpVcRecord . credential_definition ,
257+ display : ldpVcRecord . display ,
258258 } )
259259 }
260260}
@@ -279,12 +279,12 @@ export class OpenId4VciMsoMdocCredentialSupportedWithId extends OpenId4VciCreden
279279 public static fromOpenIdVcCredentialSupportedWithId (
280280 record : CredoCredentialConfigurationSupportedWithId ,
281281 ) : OpenId4VciMsoMdocCredentialSupportedWithId {
282- const r = record as MsoMdocConfigRecord
282+ const msoMdocRecord = record as MsoMdocConfigRecord
283283 return new OpenId4VciMsoMdocCredentialSupportedWithId ( {
284- id : r . id ,
284+ id : msoMdocRecord . id ,
285285 format : CredentialFormat . MsoMdoc ,
286- doctype : r . doctype ,
287- display : r . display ,
286+ doctype : msoMdocRecord . doctype ,
287+ display : msoMdocRecord . display ,
288288 } )
289289 }
290290}
0 commit comments