mirror of
https://github.com/exzork/GCAuth.git
synced 2024-11-24 00:23:58 +00:00
Update to 2.5.0
This commit is contained in:
parent
d85d5c088e
commit
662ef89c36
@ -10,7 +10,7 @@ sourceCompatibility = 17
|
|||||||
targetCompatibility = 17
|
targetCompatibility = 17
|
||||||
|
|
||||||
group 'me.exzork.gcauth'
|
group 'me.exzork.gcauth'
|
||||||
version '2.4.1'
|
version '2.5.0'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -8,7 +8,7 @@ import emu.grasscutter.server.http.objects.LoginResultJson;
|
|||||||
import me.exzork.gcauth.utils.Authentication;
|
import me.exzork.gcauth.utils.Authentication;
|
||||||
|
|
||||||
public class GCAuthAuthenticationHandler implements AuthenticationSystem {
|
public class GCAuthAuthenticationHandler implements AuthenticationSystem {
|
||||||
private final Authenticator<LoginResultJson> gcAuthAuthenticator = new GCAuthenticators.GCAuthAuthenticator();;
|
private final Authenticator<LoginResultJson> gcAuthAuthenticator = new GCAuthenticators.GCAuthAuthenticator();
|
||||||
private final Authenticator<LoginResultJson> tokenAuthenticator = new DefaultAuthenticators.TokenAuthenticator();
|
private final Authenticator<LoginResultJson> tokenAuthenticator = new DefaultAuthenticators.TokenAuthenticator();
|
||||||
private final Authenticator<ComboTokenResJson> sessionKeyAuthenticator = new DefaultAuthenticators.SessionKeyAuthenticator();
|
private final Authenticator<ComboTokenResJson> sessionKeyAuthenticator = new DefaultAuthenticators.SessionKeyAuthenticator();
|
||||||
private final GCAuthExternalAuthenticator externalAuthenticator = new GCAuthExternalAuthenticator();
|
private final GCAuthExternalAuthenticator externalAuthenticator = new GCAuthExternalAuthenticator();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "GCAuth",
|
"name": "GCAuth",
|
||||||
"description": "GCAuth is a plugin that allows you to implement authentication for your server.",
|
"description": "GCAuth is a plugin that allows you to implement authentication for your server.",
|
||||||
"version": "2.4.1",
|
"version": "2.5.0",
|
||||||
"author": ["ExZork"],
|
"author": ["ExZork"],
|
||||||
"mainClass": "me.exzork.gcauth.GCAuth"
|
"mainClass": "me.exzork.gcauth.GCAuth"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user