class RxUserApiClient
카카오 Open API의 사용자관리 API 호출을 담당하는 클라이언트. (for Reactive-X)
Since
2.0.0
<init> |
카카오 Open API의 사용자관리 API 호출을 담당하는 클라이언트. (for Reactive-X) RxUserApiClient(userApi: RxUserApi = ApiFactory.rxKapiWithOAuth.create(RxUserApi::class.java), apiInterceptor: TokenBasedApiInterceptor = TokenBasedApiInterceptor.instance, accessTokenRepo: AccessTokenRepo = AccessTokenRepo.instance) |
apiInterceptor |
val apiInterceptor: TokenBasedApiInterceptor |
accessTokenInfo |
현재 토큰의 기본적인 정보를 조회합니다. fun accessTokenInfo(): Single<AccessTokenInfo> |
logout |
토큰을 강제로 만료시킵니다. 같은 사용자가 여러개의 토큰을 발급 받은 경우 로그아웃 요청에 사용된 토큰만 만료됩니다. fun logout(): Completable |
me |
사용자에 대한 다양한 정보를 얻을 수 있습니다. fun me(secureReSource: Boolean = true): Single<User> |
serviceTerms |
사용자가 카카오 간편가입을 통해 동의한 서비스 약관 내역을 반환합니다. fun serviceTerms(): Single<UserServiceTerms> |
shippingAddresses |
앱에 가입한 사용자의 배송지 정보를 얻어갑니다. fun shippingAddresses(fromUpdateAt: Date? = null, pageSize: Int? = null): Single<UserShippingAddresses> fun shippingAddresses(addressId: Long): Single<UserShippingAddresses> |
unlink |
카카오 플랫폼 서비스와 앱 연결을 해제합니다. fun unlink(): Completable |
updateProfile |
User 클래스에서 제공되고 있는 사용자의 부가정보를 신규저장 및 수정할 수 있습니다. fun updateProfile(properties: Map<String, String>): Completable |
instance |
User API 를 호출하기 위한 rx singleton val instance: RxUserApiClient |