ktor-auth-jwt / io.ktor.auth.jwt / JWTPayloadHolder / get

get

operator fun get(name: String): String?

Retrieve a non-RFC JWT string Claim by its name

Parameters

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

Return
the Claim's value or null if not available or not a string