//
koffee-backend
/
eu.yeger.koffee.model.dto
/
Credentials
Credentials
Login-credentials.
Author
Jan Müller
class
Credentials
(id:
String
,password:
String
) :
Credential
Content copied to clipboard
Constructors
Functions
Properties
Extensions
Constructors
<init>
Link copied to clipboard
fun
<init>
(id:
String
, password:
String
)
Content copied to clipboard
Functions
equals
Link copied to clipboard
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
open override fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
open override fun
toString
():
String
Content copied to clipboard
Properties
id
Link copied to clipboard
The
User
's id.
val
id
:
String
Content copied to clipboard
password
Link copied to clipboard
The
User
's password.
val
password
:
String
Content copied to clipboard
Extensions
matches
Link copied to clipboard
Checks if
Credentials
match a
User
.
infix fun
Credentials
.
matches
(user:
User
):
Boolean
Content copied to clipboard