bug5311: export leaderboard group display name; tolerate unauthenticated requests and use null as bearer token then

This commit is contained in:
Axel Uhl committed 2021-07-13 18:35:25 +02:00
1 parent 747c646aab
commit 0d55a7dddf
6 files changed
+71 -31

No files matched your search

@@ -1008,7 +1008,8 @@ public interface RacingEventService extends TrackedRegattaRegistry, RegattaFetch
/**
* Constructs a Bearer token for a given remote Server, either using a given username and password, or a given
* bearer token. If neither of those are provided the current user will be used to create a bearer token. Provide
* only username and password or bearer token, not the three of them.
* only username and password or bearer token, not the three of them. If none is provided but there is no user
* currently authenticated, {@code null} will be returned.<p>
*/
String getOrCreateTargetServerBearerToken(String targetServerUrlAsString, String targetServerUsername,
String targetServerPassword, String targetServerBearerToken);