app/src/main/java/ch/epfl/culturequest/authentication/Authenticator.java
Method signIn
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static CompletableFuture<String> signIn(ComponentActivity activity) {
CompletableFuture<String> future = new CompletableFuture<>();
if (getCurrentUser() == null) {
if (hasConnection(activity)) {
signInLauncher.launch(signInIntent());