deserializeClaims

abstract fun <T> deserializeClaims(deserializationStrategy: DeserializationStrategy<T>): T

Used to get access to the claims data in a type safe way.

Return

the specified type, deserialized from the claims.

Parameters

deserializationStrategy

the DeserializationStrategy capable of deserializing the specified type.

Throws

if the claims data can't be deserialized into the specified type.