api / org.gradle.caching.http / HttpBuildCacheCredentials

HttpBuildCacheCredentials

open class HttpBuildCacheCredentials : PasswordCredentials

Password credentials for a HTTP build cache backend.

Since
3.5

Constructors

<init>

HttpBuildCacheCredentials()

Password credentials for a HTTP build cache backend.

Functions

getPassword

open fun getPassword(): String

Returns the password to use when authenticating to the HTTP build cache.

getUsername

open fun getUsername(): String

Returns the user name to use when authenticating to the HTTP build cache.

setPassword

open fun setPassword(password: String): Unit

Sets the password to use when authenticating to the HTTP build cache.

setUsername

open fun setUsername(username: String): Unit

Sets the user name to use when authenticating to the HTTP build cache.