← Back to Kairo Docs|API Reference (Dokka)

verify

fun AuthReceiver<*>.verify(config: VerifierConfig): JWTPrincipal

Verifies the JWT from the request. Throws NoJwt if no token is present, ExpiredJwt if expired, or JwtVerificationFailed for other verification failures.