class AuthCodeClient
OAuth 2.0 Spec 의 authorization code 를 발급받기 위해 사용되는 클라이언트.
<init> |
OAuth 2.0 Spec 의 authorization code 를 발급받기 위해 사용되는 클라이언트. AuthCodeClient(authApiClient: AuthApiClient = AuthApiClient.instance, intentResolveClient: IntentResolveClient = IntentResolveClient.instance) |
authorizeUsingCustomTabs |
Custom Tabs (기본 브라우저) 를 사용하여 authorization code 를 발급 받는다. fun authorizeUsingCustomTabs(context: Context, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, redirectUri: String = "kakao${KakaoSdk.applicationContextInfo.appKey}://oauth", clientId: String = KakaoSdk.applicationContextInfo.appKey, kaHeader: String = KakaoSdk.applicationContextInfo.kaHeader, callback: (code: String?, error: Throwable?) -> Unit): Unit |
authorizeUsingTalk |
카카오톡 간편 로그인을 통하여 authorization code 를 발급 받는다. fun authorizeUsingTalk(context: Context, requestCode: Int, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, redirectUri: String = "kakao${KakaoSdk.applicationContextInfo.appKey}://oauth", clientId: String = KakaoSdk.applicationContextInfo.appKey, kaHeader: String = KakaoSdk.applicationContextInfo.kaHeader, callback: (code: String?, error: Throwable?) -> Unit): Unit |
authorizeWithNewScopes |
유저의 동의항목을 업데이트할 수 있는 authorization code 를 발급받는다. fun authorizeWithNewScopes(context: Context, scopes: List<String>, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, redirectUri: String = "kakao${KakaoSdk.applicationContextInfo.appKey}://oauth", clientId: String = KakaoSdk.applicationContextInfo.appKey, kaHeader: String = KakaoSdk.applicationContextInfo.kaHeader, callback: (code: String?, error: Throwable?) -> Unit): Unit |
loginUsingCustomTabs |
fun loginUsingCustomTabs(context: Context, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, callback: (error: Throwable?) -> Unit): Unit |
loginUsingTalk |
fun loginUsingTalk(context: Context, requestCode: Int, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, callback: (error: Throwable?) -> Unit): Unit |
newAgreements |
fun newAgreements(context: Context, scopes: List<String>, callback: (error: Throwable?) -> Unit): Unit |
instance |
간편한 API 호출을 위해 기본 제공되는 singleton 객체 val instance: AuthCodeClient |
rx |
Reactive-X 를 위한 AuthCodeClient singleton 객체 val AuthCodeClient.Companion.rx: RxAuthCodeClient |