All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kotlin-server.libraries.ktor._principal.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
{{#authMethods}}
{{#isBasic}}
val principal = call.authentication.principal()
{{/isBasic}}
{{#isApiKey}}
val principal = call.authentication.principal()
{{/isApiKey}}
{{#isOAuth}}
val principal = call.authentication.principal()
{{/isOAuth}}
{{/authMethods}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy