All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lmcoursier.credentials.DirectCredentials.scala Maven / Gradle / Ivy

There is a newer version: 2.1.6
Show newest version
package lmcoursier.credentials

import dataclass._

@data class DirectCredentials(
  host: String = "",
  username: String = "",
  password: String = "",
  @since("1.0")
  realm: Option[String] = None,
  @since("1.1")
  optional: Boolean = true,
  @since("1.2")
  matchHost: Boolean = false,
  @since("1.3")
  httpsOnly: Boolean = true
) extends Credentials {

  override def toString(): String = s"DirectCredentials(host=$host, username=$username)"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy