HttpBasicCredentials

@Serializable
internal data class HttpBasicCredentials(val login: String, val password: String) : Credentials(source)

Carries HttpBasicCredentials data through the SDAI authentication feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(login: String, password: String)

Types

Link copied to clipboard
object Companion

Provides the companion object singleton used by the SDAI authentication feature layer.

Properties

Link copied to clipboard
@SerialName(value = "login")
val login: String

Exposes the login value used by the SDAI authentication feature layer.

Link copied to clipboard
@SerialName(value = "password")
val password: String

Exposes the password value used by the SDAI authentication feature layer.

Functions

Link copied to clipboard

Converts SDAI data with toDomain.

Link copied to clipboard
open override fun toJson(): String

Converts SDAI data with toJson.