sso

fun UserApiClient.sso(activity: Activity, type: SsoLoginType, useUnifiedTerms: Boolean = false, callback: (token: OAuthToken?, error: Throwable?) -> Unit)

SSO 인증
SSO authentication

Parameters

type

로그인할 계정 타입
Account type to login with

useUnifiedTerms

통합 서비스 약관 사용 여부, 통합 서비스약관을 사용하는 서비스에서는 true 설정
Whether to use Kakao Comprehensive Terms of Service. Set to true if your service uses Kakao Comprehensive Terms of Service.


fun UserApiClient.sso(activity: Activity, id: String, callback: (token: OAuthToken?, error: Throwable?) -> Unit)

커스텀 SSO 인증
Custom SSO authentication

Parameters

id

getTalkUsers로 얻은 사용자 ID
User ID obtained via getTalkUsers