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

๐Ÿ“ฎ ์นด์นด์˜ค oauth ์—ฐ๋™ #43

Merged
merged 3 commits into from
Dec 9, 2023

Conversation

heejinnn
Copy link
Collaborator

@heejinnn heejinnn commented Dec 8, 2023

์ž‘์—… ์ด์œ 

์นด์นด์˜ค ๋กœ๊ทธ์ธ ๊ตฌํ˜„

์ž‘์—… ์‚ฌํ•ญ

๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ๋Š” data

  • ๋‹‰๋„ค์ž„
  • ์ด๋ฉ”์ผ
  • ํ”„๋กœํ•„ ์‚ฌ์ง„
แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2023-12-09 แ„‹แ…ฉแ„Œแ…ฅแ†ซ 3 15 00

์ „ํ™”๋ฒˆํ˜ธ๋Š” ๋น„์ฆˆ๋‹ˆ์Šค ์ธ์ฆ์ด ๋˜์–ด์žˆ์–ด์•ผ ํ•œ๋‹ค๊ณ  ํ•œ๋‹ค....

1๏ธโƒฃ ์นด์นด์˜ค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ค์น˜

  • ์นด์นด์˜ค ๋กœ๊ทธ์ธ ๋ชจ๋“ˆ์ธ KakaoSDKUser
  • ์‚ฌ์šฉ์ž ์ธ์ฆ ๋ฐ ํ† ํฐ ๊ด€๋ฆฌ์ž ๋ชจ๋“ˆ์ธ KakaoSDKAuth
  • ํ•„์ˆ˜ ์š”์†Œ๋ฅผ ๋‹ด์€ ๊ณตํ†ต ๋ชจ๋“ˆ์ธ KakaoSDKCommon

2๏ธโƒฃ ์นด์นด์˜ค ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธ ๊ตฌํ˜„

@objc func kakaoLoginBtnTapped(_ sender: UIButton){
        
        UserApi.shared.loginWithKakaoAccount {(oauthToken, error) in

            if let error = error {
                print(error)
            }
            else {
                print("loginWithKakaoAccount() success.")

                _ = oauthToken
            }
        }
    }
  • data ๋ฐ˜ํ™˜
แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2023-12-09 แ„‹แ…ฉแ„Œแ…ฅแ†ซ 3 04 49

์ด์Šˆ ์—ฐ๊ฒฐ

#40
#12

@heejinnn heejinnn self-assigned this Dec 8, 2023
@psychology50
Copy link
Member

์ด์Šˆ ์—ฐ๊ฒฐํ•˜์‹ค ๋•Œ ์•ž์— close ํ‚ค์›Œ๋“œ ๋„ฃ์–ด์ค˜์•ผ ๊ฐ™์ด ๋‹ซํ˜€์š”!

@psychology50 psychology50 merged commit 27f405f into develop Dec 9, 2023
0 of 2 checks passed
@heejinnn heejinnn deleted the feat/40 branch January 3, 2024 17:21
@heejinnn heejinnn changed the title ์นด์นด์˜ค ๋กœ๊ทธ์ธ ๊ตฌํ˜„ ๐Ÿ“ฎ ์นด์นด์˜ค oauth ์—ฐ๋™ Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants