[FEATURE] HttpAuthCoreProvider toString() methods

This commit is contained in:
Gravita 2022-04-07 22:16:25 +07:00
parent dc27fc04aa
commit a20b70e2a1

View file

@ -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 +
'}';
}
} }
} }