kakao-android-sdk-rx / com.kakao.sdk.auth / AuthCodeClient / authorizeWithNewScopes

authorizeWithNewScopes

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

유저의 동의항목을 업데이트할 수 있는 authorization code 를 발급받는다.

Parameters

context - Context instance for starting an activity

scopes - list of scopes to be updated