style: fix missing newlines at end of files
Some checks failed
CI / Get Changed Files (pull_request) Successful in 8s
CI / Docker frontend validation (pull_request) Failing after 23s
CI / oxlint (pull_request) Successful in 47s
CI / prettier (pull_request) Failing after 56s
CI / eslint (pull_request) Successful in 1m13s
CI / Checkstyle Main (pull_request) Successful in 2m59s
CI / test-build (pull_request) Successful in 2m3s
CI / Docker backend validation (pull_request) Successful in 3m25s

This commit is contained in:
Constantin Simonis 2025-05-21 10:59:36 +02:00
commit 75de7d1370
No known key found for this signature in database
GPG key ID: 3878FF77C24AF4D2
12 changed files with 12 additions and 12 deletions

View file

@ -6,4 +6,4 @@ public class OAuth2AuthenticationProcessingException extends AuthenticationExcep
public OAuth2AuthenticationProcessingException(String msg) {
super(msg);
}
}
}

View file

@ -46,4 +46,4 @@ public class GitHubController {
AuthResponseDto response = githubService.processGithubCode(code);
return ResponseEntity.ok(response);
}
}
}

View file

@ -162,4 +162,4 @@ public class GitHubService {
throw new RuntimeException("Failed to process GitHub authentication", e);
}
}
}
}

View file

@ -5,4 +5,4 @@ import lombok.Data;
@Data
public class GithubCallbackDto {
private String code;
}
}

View file

@ -102,4 +102,4 @@ public class CustomOAuth2UserService extends DefaultOAuth2UserService {
}
return userRepository.save(existingUser);
}
}
}

View file

@ -22,4 +22,4 @@ public class GitHubOAuth2UserInfo extends OAuth2UserInfo {
public String getEmail() {
return (String) attributes.get("email");
}
}
}

View file

@ -52,4 +52,4 @@ public class OAuth2AuthenticationSuccessHandler extends SimpleUrlAuthenticationS
.queryParam("token", token)
.build().toUriString();
}
}
}

View file

@ -12,4 +12,4 @@ public class OAuth2Config {
public PasswordEncoder oauth2PasswordEncoder() {
return new BCryptPasswordEncoder();
}
}
}

View file

@ -17,4 +17,4 @@ public abstract class OAuth2UserInfo {
public abstract String getName();
public abstract String getEmail();
}
}

View file

@ -14,4 +14,4 @@ public class OAuth2UserInfoFactory {
throw new OAuth2AuthenticationProcessingException("Sorry! Login with " + registrationId + " is not supported yet.");
}
}
}
}

View file

@ -99,4 +99,4 @@ public class UserPrincipal implements OAuth2User, UserDetails {
public String getName() {
return String.valueOf(id);
}
}
}

View file

@ -3,4 +3,4 @@ package de.szut.casino.user;
public enum AuthProvider {
LOCAL,
GITHUB
}
}