Update to 2.5.0

This commit is contained in:
xtaodada 2022-07-27 19:49:01 +08:00
parent d85d5c088e
commit 662ef89c36
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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();

View File

@ -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"
} }