Skip to content

Commit 01371d2

Browse files
Updated the identifier of the supported credential type.
1 parent 957ba54 commit 01371d2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/main/java/com/authlete/jaxrs/server/vc/CredentialDefinitionType.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@
2323

2424
public enum CredentialDefinitionType
2525
{
26-
IDENTITY_CREDENTIAL("IdentityCredential", new String[]{
27-
StandardClaims.GIVEN_NAME,
28-
StandardClaims.FAMILY_NAME,
29-
StandardClaims.BIRTHDATE
30-
});
26+
IDENTITY_CREDENTIAL(
27+
"https://credentials.example.com/identity_credential",
28+
new String[]{
29+
StandardClaims.GIVEN_NAME,
30+
StandardClaims.FAMILY_NAME,
31+
StandardClaims.BIRTHDATE
32+
}
33+
);
3134

3235

3336
final String id;

0 commit comments

Comments
 (0)