kotlin-server-deprecated.libraries.ktor._principal.mustache Maven / Gradle / Ivy
{{#authMethods}}
{{#isBasicBasic}}
val principal = call.authentication.principal()
{{/isBasicBasic}}
{{#isApiKey}}
val principal = call.authentication.principal()
{{/isApiKey}}
{{#isOAuth}}
val principal = call.authentication.principal()
{{/isOAuth}}
{{/authMethods}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy