Auth

fun HttpClientConfig<*>.Auth(block: AuthConfig.() -> Unit)

Install Auth plugin.


A client's plugin that handles authentication and authorization. Typical usage scenarios include logging in users and gaining access to specific resources.

You can learn more from Authentication and authorization.

providers - list of auth providers to use.