File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed
src/main/java/xyz/refinedev/phoenix/utils/auth/api Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1- # Phoenix-API (Version: 1.8.6 )
1+ # Phoenix-API (Version: 1.8.12 )
22This is the API for Phoenix & pxQueue!
33
44## Installing
@@ -27,7 +27,7 @@ Add this to your `pom.xml` under `<dependencies>`:
2727<dependency >
2828 <groupId >xyz.refinedev.phoenix</groupId >
2929 <artifactId >pxAPI</artifactId >
30- <version >1.8.6 </version >
30+ <version >1.8.12 </version >
3131 <scope >provided</scope >
3232</dependency >
3333```
Original file line number Diff line number Diff line change 1414
1515 <groupId >xyz.refinedev.phoenix</groupId >
1616 <artifactId >pxAPI</artifactId >
17- <version >1.8.6 </version >
17+ <version >1.8.12 </version >
1818
1919 <properties >
2020 <maven .compiler.source>1.8</maven .compiler.source>
Original file line number Diff line number Diff line change 88 */
99public interface Authenticator {
1010
11- public String getName ();
11+ String getName ();
1212
13- public void setup (Player player );
13+ void setup (Player player );
1414
15- public boolean authenticate (Player player , String input );
15+ boolean authenticate (Player player , String input );
1616
17- public boolean canSetup (Player player );
17+ boolean canSetup (Player player );
1818
19- public boolean canAuthenticate (Player player );
19+ boolean canAuthenticate (Player player );
2020
21- public boolean isEnabled ();
21+ boolean isEnabled ();
22+
23+ default boolean isAsync () {
24+ return false ;
25+ }
2226
2327}
You can’t perform that action at this time.
0 commit comments