authentication
fun Application.authentication(block: Authentication.Configuration.() -> Unit)
Content copied to clipboard
Installs Authentication feature if not yet installed and invokes block on it's config. One is allowed to modify existing authentication configuration only in authentication's block or via Authentication.configure function. Changing captured instance of configuration outside of block may have no effect or damage application's state.
Retrieves an AuthenticationContext for this
call