File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
apis/src/main/kotlin/org/yapp/apis/auth Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1+ package org.yapp.apis.auth.dto
2+
3+ data class TokenPair (
4+ val accessToken : String ,
5+ val refreshToken : String
6+ )
Original file line number Diff line number Diff line change 11package org.yapp.apis.auth.service
22
3+ import org.yapp.apis.auth.dto.TokenPair
34import org.yapp.apis.auth.dto.UserProfileResponse
45import org.yapp.domain.user.User
56
@@ -23,9 +24,3 @@ interface AuthService {
2324 fun getUserIdFromAccessToken (accessToken : String ): Long
2425
2526}
26-
27-
28- data class TokenPair (
29- val accessToken : String ,
30- val refreshToken : String
31- )
Original file line number Diff line number Diff line change 11package org.yapp.apis.auth.usecase
22
3+ import org.yapp.apis.auth.dto.TokenPair
34import org.yapp.apis.auth.dto.UserProfileResponse
45import org.yapp.apis.auth.service.AuthCredentials
5- import org.yapp.apis.auth.service.TokenPair
66
77/* *
88 * Interface for authentication use cases.
Original file line number Diff line number Diff line change 11package org.yapp.apis.auth.usecase
22
33import org.springframework.stereotype.Service
4+ import org.yapp.apis.auth.dto.TokenPair
45import org.yapp.apis.auth.dto.UserProfileResponse
56import org.yapp.apis.auth.service.AuthCredentials
67import org.yapp.apis.auth.service.AuthService
7- import org.yapp.apis.auth.service.TokenPair
88
99/* *
1010 * Implementation of AuthUseCase that uses AuthService.
You can’t perform that action at this time.
0 commit comments