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
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:
parent
6f6bbe6d8b
commit
75de7d1370
12 changed files with 12 additions and 12 deletions
|
@ -6,4 +6,4 @@ public class OAuth2AuthenticationProcessingException extends AuthenticationExcep
|
|||
public OAuth2AuthenticationProcessingException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,4 +46,4 @@ public class GitHubController {
|
|||
AuthResponseDto response = githubService.processGithubCode(code);
|
||||
return ResponseEntity.ok(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -162,4 +162,4 @@ public class GitHubService {
|
|||
throw new RuntimeException("Failed to process GitHub authentication", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,4 +5,4 @@ import lombok.Data;
|
|||
@Data
|
||||
public class GithubCallbackDto {
|
||||
private String code;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -102,4 +102,4 @@ public class CustomOAuth2UserService extends DefaultOAuth2UserService {
|
|||
}
|
||||
return userRepository.save(existingUser);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,4 +22,4 @@ public class GitHubOAuth2UserInfo extends OAuth2UserInfo {
|
|||
public String getEmail() {
|
||||
return (String) attributes.get("email");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,4 +52,4 @@ public class OAuth2AuthenticationSuccessHandler extends SimpleUrlAuthenticationS
|
|||
.queryParam("token", token)
|
||||
.build().toUriString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,4 +12,4 @@ public class OAuth2Config {
|
|||
public PasswordEncoder oauth2PasswordEncoder() {
|
||||
return new BCryptPasswordEncoder();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,4 +17,4 @@ public abstract class OAuth2UserInfo {
|
|||
public abstract String getName();
|
||||
|
||||
public abstract String getEmail();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ public class OAuth2UserInfoFactory {
|
|||
throw new OAuth2AuthenticationProcessingException("Sorry! Login with " + registrationId + " is not supported yet.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,4 +99,4 @@ public class UserPrincipal implements OAuth2User, UserDetails {
|
|||
public String getName() {
|
||||
return String.valueOf(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,4 +3,4 @@ package de.szut.casino.user;
|
|||
public enum AuthProvider {
|
||||
LOCAL,
|
||||
GITHUB
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue