Jan Codes
  • Home
  • About me

Vapor

A collection of 1 post

WebSockets & authentication in Vapor 3
swift

WebSockets & authentication in Vapor 3

Authentication and authorisation in Vapor 3 is very easy with Vapor's auth library. You simply add the library into your project and use one of the middlewares to authorize users. Unfortunately this is not as easy to do when your route allows WebSocket connections.

  • Jan Kaltoun
    Jan Kaltoun
4 min read
Jan Codes © 2021
Latest Posts Ghost