mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-19 02:15:45 +01:00
Merge development into plugin-auth
This commit is contained in:
@@ -27,6 +27,13 @@ public interface AuthenticationSystem {
|
||||
*/
|
||||
void resetPassword(String username);
|
||||
|
||||
/**
|
||||
* Called by plugins to internally verify a user's identity.
|
||||
* @param details A unique, one-time token to verify the user.
|
||||
* @return True if the user is verified, False otherwise.
|
||||
*/
|
||||
boolean verifyUser(String details);
|
||||
|
||||
/**
|
||||
* This is the authenticator used for password authentication.
|
||||
* @return An authenticator.
|
||||
|
||||
Reference in New Issue
Block a user