Ktor 3.6.0 Ktor 3.6.0 brings typed authentication, OpenID Connect, HTTP/3 for Netty and simpler Kotlin Multiplatform clients. Major changes: 1. Typed authentication — experimental. Context parameters carry the principal type from the authentication provider into the route. With jwt<User>(...) , call.principal is a User inside authenticateWith(jwtAuth) . The API also supports role checks and anonymous users —…
18 сентября 2026
Оригинал
172 просмотров