Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create AuthService #13

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.whatever.raisedragon.domain.auth

interface AuthService {
/**
* 사용자가 전달한 토큰을 가지고 사용자의 카카오 유저 아이디를 반환하는 메소드입니다.
*
* @param userToken 사용자가 클라이언트에서 발급받은 토큰입니다.
* @return 사용자의 카카오 유저 아이디. 반환 값이 없거나 유효하지 않은 토큰인 경우 null을 반환합니다.
*/
fun verifyKakao(userToken: String): String?
}