roundTripJwt
Round-trip transformation: credential -> JWT -> credential.
Useful for testing that JWT transformation preserves all credential data.
Example:
val recovered = credential.roundTripJwt()
assertEquals(credential.id, recovered.id)
assertEquals(credential.issuer, recovered.issuer)Content copied to clipboard
Return
Credential recovered from JWT transformation