class LoginClient
카카오 로그인을 실행하기 위한 클라이언트. 카카오톡 또는 브라우저를 이용해 카카오계정 정보를 획득하고 API 요청에 필요한 사용자 토큰을 발급 받습니다.
<init> |
카카오 로그인을 실행하기 위한 클라이언트. 카카오톡 또는 브라우저를 이용해 카카오계정 정보를 획득하고 API 요청에 필요한 사용자 토큰을 발급 받습니다. LoginClient(authApiClient: AuthApiClient = AuthApiClient.instance, authCodeClient: AuthCodeClient = AuthCodeClient.instance) |
loginUsingCustomTabs |
Custom Tabs (기본 브라우저) 를 사용하여 로그인합니다. fun loginUsingCustomTabs(context: Context, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, callback: (token: OAuthToken?, error: Throwable?) -> Unit): Unit |
loginUsingTalk |
카카오톡 간편로그인을 실행합니다. fun loginUsingTalk(context: Context, requestCode: Int = AuthCodeClient.DEFAULT_REQUEST_CODE, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, callback: (token: OAuthToken?, error: Throwable?) -> Unit): Unit |
loginWithNewAgreements |
사용자에게 동의받지 못한 개인정보,접근권한 항목에 대하여 동의를 요청하고 새로운 토큰을 발급 받습니다. fun loginWithNewAgreements(context: Context, scopes: List<String>, callback: (token: OAuthToken?, error: Throwable?) -> Unit): Unit |
instance |
간편한 API 호출을 위해 기본 제공되는 singleton 객체 val instance: LoginClient |