authenticate

open override fun authenticate(email: String, password: String): String?

Authenticates a user by their email and password.

Return

A JWT token if authentication is successful, null otherwise.

Parameters

email

The email of the user.

password

The password of the user.