verifier

fun verifier(verifier: JWTVerifier): Unit
fun verifier(
    verifier: (HttpAuthHeader) -> JWTVerifier?
): Unit

Parameters

verifier - verifies token format and signature

fun verifier(
    jwkProvider: JwkProvider,
    issuer: String,
    configure: JWTConfigureFunction = {}
): Unit

Parameters

jwkProvider - provides the JSON Web Key

issuer - the issuer of the JSON Web Token

fun verifier(
    jwkProvider: JwkProvider,
    configure: JWTConfigureFunction = {}
): Unit

Parameters

jwkProvider - provides the JSON Web Key

configure - function will be applied during JWTVerifier construction