ktor-auth / io.ktor.auth / DefaultOAuth2StateProvider / verifyState

verifyState

suspend fun verifyState(state: String): Unit

Overrides OAuth2StateProvider.verifyState

Verifies state and throws exceptions if it's not valid