getListClaim

fun <T : Any> getListClaim(name: String, clazz: KClass<T>): List<T>

Retrieve a non-RFC JWT Claim by its name and attempt to decode as a list of the supplied type

Return

the Claim's value or an empty list if not available or unable to deserialise

Parameters

name

The claim's key as it appears in the JSON object