Auth

class Auth

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.

Types

Link copied to clipboard

Properties

Link copied to clipboard

Extensions

Link copied to clipboard
fun Auth.basic(block: BasicAuthConfig.() -> Unit)

Installs the client's BasicAuthProvider.

Link copied to clipboard
fun Auth.bearer(block: BearerAuthConfig.() -> Unit)

Installs the client's BearerAuthProvider.

Link copied to clipboard
fun Auth.digest(block: DigestAuthConfig.() -> Unit)

Installs the client's DigestAuthProvider.