Added getVerified method to DataSource.java

This commit is contained in:
Deichor 2024-12-10 04:05:36 +03:00
parent 9a128cd8ce
commit 466cf8708f

View File

@ -228,6 +228,14 @@ public interface DataSource extends Reloadable {
*/ */
DataSourceValue<String> getEmail(String user); DataSourceValue<String> getEmail(String user);
/**
* Checks whether the user's email is verified.
*
* @param user the user whose email verification status is being checked
* @return true if the user's email is verified, false if not, or null if the user does not exist
*/
DataSourceValue<Boolean> getVerified(String user);
/** /**
* Return all players of the database. * Return all players of the database.
* *