-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
3 additions
and
104 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
src/main/kotlin/com/everywaffle/team3server/user/dto/LocalLoginRequest.kt
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/main/kotlin/com/everywaffle/team3server/user/dto/LocalLoginResponse.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
src/main/kotlin/com/everywaffle/team3server/user/service/UserService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
package com.everywaffle.team3server.user.service | ||
|
||
import com.everywaffle.team3server.user.dto.LocalLoginRequest | ||
import com.everywaffle.team3server.user.dto.LocalLoginResponse | ||
|
||
|
||
interface UserService { | ||
fun localLogin(localLoginRequest: LocalLoginRequest): LocalLoginResponse? | ||
fun authenticate(username: String, password: String) | ||
// TODO: 다른 메서드 정의 | ||
} | ||
interface UserService |
18 changes: 1 addition & 17 deletions
18
src/main/kotlin/com/everywaffle/team3server/user/service/UserServiceImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
package com.everywaffle.team3server.user.service | ||
|
||
import com.everywaffle.team3server.auth.JwtTokenProvider | ||
import com.everywaffle.team3server.user.dto.LocalLoginRequest | ||
import com.everywaffle.team3server.user.dto.LocalLoginResponse | ||
import com.everywaffle.team3server.user.repository.UserRepository | ||
import org.springframework.security.crypto.password.PasswordEncoder | ||
import org.springframework.stereotype.Service | ||
|
||
@Service | ||
class UserServiceImpl( | ||
private val userRepository: UserRepository, | ||
private val passwordEncoder: PasswordEncoder, | ||
private val jwtTokenProvider: JwtTokenProvider | ||
) : UserService{ | ||
override fun localLogin(localLoginRequest: LocalLoginRequest): LocalLoginResponse? { | ||
TODO("Not yet implemented") | ||
} | ||
override fun authenticate(username: String, password: String) { | ||
TODO("Not yet implemented") | ||
} | ||
} | ||
class UserServiceImpl |
62 changes: 0 additions & 62 deletions
62
src/test/kotlin/com/everywaffle/team3server/auth/LoginServiceTest.kt
This file was deleted.
Oops, something went wrong.