File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,7 @@ const (
7272
7373 // Iden3OnсhainSparseMerkleTreeProof2023 is a proof type for MTP proofs with iden3 metadata from blockchain
7474 Iden3OnchainSparseMerkleTreeProof2023 CredentialStatusType = "Iden3OnchainSparseMerkleTreeProof2023"
75+
76+ // Iden3RefreshService2023 is the type of refresh service
77+ Iden3RefreshService2023 RefreshServiceType = "Iden3RefreshService2023"
7578)
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ type W3CCredential struct {
2525 Issuer string `json:"issuer"`
2626 CredentialSchema CredentialSchema `json:"credentialSchema"`
2727 Proof CredentialProofs `json:"proof,omitempty"`
28+ RefreshService * RefreshService `json:"refreshService,omitempty"`
2829}
2930
3031// Merklize merklizes verifiable credential
Original file line number Diff line number Diff line change 1+ package verifiable
2+
3+ // RefreshServiceType represent refresh service types
4+ type RefreshServiceType string
5+
6+ // RefreshService is struct that represents refresh service json-ld document
7+ type RefreshService struct {
8+ ID string `json:"id"`
9+ Type RefreshServiceType `json:"type"`
10+ }
You can’t perform that action at this time.
0 commit comments