class RxAuthCodeClient
OAuth 2.0 Spec 의 authorization code 를 발급받기 위해 사용되는 클라이언트. (for Reactive-X)
<init> |
OAuth 2.0 Spec 의 authorization code 를 발급받기 위해 사용되는 클라이언트. (for Reactive-X) RxAuthCodeClient(authApiClient: RxAuthApiClient = AuthApiClient.rx, intentResolveClient: IntentResolveClient = IntentResolveClient.instance) |
authorizeUsingCustomTabs |
Custom Tabs (기본 브라우저) 를 사용하여 authorization code 를 발급 받는다. fun authorizeUsingCustomTabs(context: Context, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null, clientId: String = KakaoSdk.applicationContextInfo.appKey, redirectUri: String = "kakao${KakaoSdk.applicationContextInfo.appKey}://oauth", kaHeader: String = KakaoSdk.applicationContextInfo.kaHeader): Single<String> |
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): Single<String> |
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): Single<String> |
isTalkLoginAvailable |
fun isTalkLoginAvailable(context: Context): Boolean |
loginUsingCustomTabs |
fun loginUsingCustomTabs(context: Context, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null): Completable |
loginUsingTalk |
fun loginUsingTalk(context: Context, requestCode: Int, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, autoLogin: Boolean? = null): Completable |