Function createIdentityClaims
- createIdentityClaims(network: Network, idpIndex: number, statement: AtomicStatementV2<"firstName" | "lastName" | "sex" | "dob" | "countryOfResidence" | "nationality" | "idDocType" | "idDocNo" | "idDocIssuer" | "idDocIssuedAt" | "idDocExpiresAt" | "nationalIdNo" | "taxIdNo" | "lei" | "legalName" | "legalCountry" | "businessNumber" | "registrationAuth">[]): VerifiablePresentationV1.IdentityClaims
-
Parameters
-
-
idpIndex: number
-
statement: AtomicStatementV2<"firstName" | "lastName" | "sex" | "dob" | "countryOfResidence" | "nationality" | "idDocType" | "idDocNo" | "idDocIssuer" | "idDocIssuedAt" | "idDocExpiresAt" | "nationalIdNo" | "taxIdNo" | "lei" | "legalName" | "legalCountry" | "businessNumber" | "registrationAuth">[]
Create claims about an identity based credential
Returns
The identity claims to be used in the presentation input for the verifiable credential.