kotlin-server.libraries.ktor._principal.mustache Maven / Gradle / Ivy
{{#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