JWTCredential
data class JWTCredential constructor(val id: String, val iss: String, val sub: String?, val nbf: Long?, val exp: Long?, val jti: String?, val aud: Array<String>?, val originalJWTString: String?, var verifiablePresentation: JWTVerifiablePresentation? = null, var verifiableCredential: JWTVerifiableCredential? = null, var nonce: String? = null) : Credential, JWTPayload, ProvableCredential(source)
Represents a JSON Web Token (JWT) credential.
This class provides a way to parse and extract information from a JWT string. It implements the Credential interface and provides implementations for all its properties and functions.
Types
Properties
Functions
Link copied to clipboard
open suspend override fun presentation(request: ByteArray, options: List<CredentialOperationsOptions>): String
Link copied to clipboard
Converts the current instance of JWTCredential to a StorableCredential.