AuthenticationSupported

An artifact repository which supports username/password authentication.

Inheritors

Functions

Link copied to clipboard
Configures the authentication schemes for this repository.
Link copied to clipboard
abstract fun credentials(credentialsType: Class<out Credentials>)
Configures the credentials for this repository that will be provided by the build.
abstract fun credentials(action: Action<in PasswordCredentials>)
Configures the username and password credentials for this repository using the supplied action.
abstract fun <T : Credentials?> credentials(credentialsType: Class<T>, action: Action<in T>)
Configures the credentials for this repository using the supplied action.
Link copied to clipboard
Link copied to clipboard
Returns the authentication schemes for this repository.
Link copied to clipboard
Returns the username and password credentials used to authenticate to this repository.
abstract fun <T : Credentials?> getCredentials(credentialsType: Class<T>): T
Returns the credentials of the specified type used to authenticate with this repository.
Link copied to clipboard