CredentialSubject

@Serializable
abstract class CredentialSubject(source)

Deprecated

CredentialSubject is deprecated. Use JsonElement for credential subjects instead.

Replace with

import kotlinx.serialization.json.JsonElement
JsonElement

Base class for the subject of a VerifiableCredential, see subclasses of this class, e.g., a concrete credential implementation

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@SerialName(value = "id")
abstract val id: String

This is the subjectId of the credential