decode

fun decode(encoded: String, keyManager: KeyManagerInterface? = null): JWT?

Validates and decodes JWT.

Return

decoded JWT.

Parameters

encoded

JWT.

keyManager

KeyManagerInterface to use for validating the signature (optional).