component-installation-plugin / com.intershop.gradle.component.installation.utils.data / Credentials

Credentials

data class Credentials

Data class for http(s) credentials. This is used for basic authentication.

Constructors

<init>

Credentials(username: String, password: String)

Data class for http(s) credentials. This is used for basic authentication.

Properties

authString

val authString: String

Read only variable for authentication string of the basic http(s) authentication.

password

val password: String

password of the user

username

val username: String

the login name of the user

Companion Object Functions

initFrom

fun initFrom(repo: AuthenticationSupported): Credentials

Initialize the credentials object from a Gradle repository.