ktor-auth / io.ktor.auth / OAuth2StateProvider / verifyState

verifyState

abstract suspend fun verifyState(state: String): Unit

Verifies state and throws exceptions if it's not valid