mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-31 20:59:54 +03:00
[FEATURE] HttpAuthCoreProvider toString() methods
This commit is contained in:
parent
dc27fc04aa
commit
a20b70e2a1
1 changed files with 22 additions and 0 deletions
|
@ -363,6 +363,19 @@ public Map<String, String> getProperties() {
|
||||||
}
|
}
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "HttpUser{" +
|
||||||
|
"username='" + username + '\'' +
|
||||||
|
", uuid=" + uuid +
|
||||||
|
", serverId='" + serverId + '\'' +
|
||||||
|
", accessToken='" + accessToken + '\'' +
|
||||||
|
", permissions=" + permissions +
|
||||||
|
", assets=" + getAssets() +
|
||||||
|
", properties=" + properties +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class HttpUserSession implements UserSession {
|
public static class HttpUserSession implements UserSession {
|
||||||
|
@ -393,5 +406,14 @@ public User getUser() {
|
||||||
public long getExpireIn() {
|
public long getExpireIn() {
|
||||||
return expireIn;
|
return expireIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "HttpUserSession{" +
|
||||||
|
"id='" + id + '\'' +
|
||||||
|
", user=" + user +
|
||||||
|
", expireIn=" + expireIn +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue