PasswordCredential

class PasswordCredential(val server: String, val username: String, val password: String)(source)

A username and password for a server. toString never includes the password.

Constructors

Link copied to clipboard
constructor(server: String, username: String, password: String)

Properties

Link copied to clipboard

the secret for username.

Link copied to clipboard

the host or logical service the credential signs in to, for example api.example.com.

Link copied to clipboard

the account name on server.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Credentials are equal when their server, username, and password are all equal.

Link copied to clipboard
open override fun hashCode(): Int

Combines server, username, and password.

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

Describes the server and username; the password is always redacted.