Skip to content

Commit

Permalink
Added function to set refresh token for AutoAuthService
Browse files Browse the repository at this point in the history
  • Loading branch information
tycrek committed Oct 29, 2021
1 parent b990a4b commit 8a89510
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group 'com.github.steveice10'
version '1.5-tycrek-11'
version '1.5-tycrek-12'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ private AuthenticationService getAuth() {
return authType == AuthType.Mojang ? mojangAuth : msaAuth;
}

@SuppressWarnings("unused")
public void setRefreshToken(String refreshToken) {
msaAuth.setRefreshToken(refreshToken);
}

//#region Generic overrides
@Override
public String getAccessToken() {
Expand Down

0 comments on commit 8a89510

Please sign in to comment.