deserializeClaim

abstract fun <T> deserializeClaim(claim: String, deserializationStrategy: DeserializationStrategy<T>): T?

Deserialize a specific claim from the claims data in a type safe way.

Return

the specified type, deserialized from the claims, if present.

Throws

if the claim can't be deserialized into the specified type.