Added getVerified method to DataSource.java
This commit is contained in:
parent
9a128cd8ce
commit
466cf8708f
@ -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.
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user