https://kotlinlang.org logo
#ktor
Title
# ktor
s

Sean Proctor

05/18/2022, 9:18 PM
Hi, I'm migrating a Ktor server from 1.6 to 2.0. The migration guide doesn't mention anything about the new interface to AuthenticationProvider. Can anyone point me to an example that has been migrated?
plus1 2
a

Aleksei Tirman [JB]

05/19/2022, 10:35 AM
Here is an example.
s

Sean Proctor

05/19/2022, 12:49 PM
Hi, thanks for the answer, but that doesn't demonstrate how to implement an AuthenticationProvider. I have a simple secret AuthenticationProvider. That example just shows how to use a BasicaAuthenticationProvider.
a

Aleksei Tirman [JB]

05/19/2022, 4:24 PM
Could you please describe the behavior of your secret AuthenticationProvider so I could write an example?
s

Sean Proctor

05/20/2022, 7:36 AM
10 Views