Credentials

Login-credentials.

Author

Jan Müller
class Credentials(id: String,password: String) : Credential

Constructors

<init>
Link copied to clipboard
fun <init>(id: String, password: String)

Functions

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

Properties

id
Link copied to clipboard
The User's id.
val id: String
password
Link copied to clipboard
The User's password.
val password: String

Extensions

matches
Link copied to clipboard
Checks if Credentials match a User.
infix fun Credentials.matches(user: User): Boolean