matches

Checks if Credentials match a User.

Return

true if the Credentials match the User.

Author

Jan Müller

Parameters

<receiver>
The Credentials to be checked.
user
The User to be checked against.
infix fun Credentials.matches(user: User): Boolean