RxUserApiClient

class RxUserApiClient(userApi: RxUserApi, authOperations: RxAuthOperations, tokenManagerProvider: TokenManagerProvider)

카카오 로그인 API 클라이언트
Client for the Kakao Login APIs

Constructors

Link copied to clipboard
fun RxUserApiClient(userApi: RxUserApi = ApiFactory.rxKapiWithOAuth.create(RxUserApi::class.java), authOperations: RxAuthOperations = RxAuthOperations.instance, tokenManagerProvider: TokenManagerProvider = TokenManagerProvider.instance)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun accessTokenInfo(): Single<AccessTokenInfo>

액세스 토큰 정보
Access token information

Link copied to clipboard
fun loginWithKakaoAccount(context: Context, prompts: List<Prompt>? = null, loginHint: String? = null, nonce: String? = null, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null): Single<OAuthToken>

카카오계정으로 로그인
Login with Kakao Account

Link copied to clipboard
fun loginWithKakaoTalk(context: Context, requestCode: Int = AuthCodeClient.DEFAULT_REQUEST_CODE, nonce: String? = null, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null): Single<OAuthToken>

카카오톡으로 로그인
Login with Kakao Talk

Link copied to clipboard
fun loginWithNewScopes(context: Context, scopes: List<String>, nonce: String? = null): Single<OAuthToken>

추가 항목 동의 받기
Request additional consent

Link copied to clipboard
fun logout(): Completable

로그아웃
Logout

Link copied to clipboard
fun me(properties: List<String>? = null, secureReSource: Boolean = true): Single<User>

사용자 정보 가져오기
Retrieve user information

Link copied to clipboard
fun revokeScopes(scopes: List<String>): Single<ScopeInfo>

동의 철회하기
Revoke consent

Link copied to clipboard
fun revokeServiceTerms(tags: List<String>): Single<UserRevokedServiceTerms>

서비스 약관 동의 철회하기
Revoke consent for service terms

Link copied to clipboard
fun scopes(scopes: List<String>? = null): Single<ScopeInfo>

동의 내역 확인하기
Retrieve consent details

Link copied to clipboard
fun selectShippingAddresses(context: Context): Single<Long>

배송지 선택하기
Select shipping address

Link copied to clipboard
fun serviceTerms(tags: List<String>? = null, result: String? = null): Single<UserServiceTerms>

서비스 약관 동의 내역 확인하기
Retrieve consent details for service terms

Link copied to clipboard
fun shippingAddresses(addressId: Long): Single<UserShippingAddresses>
fun shippingAddresses(fromUpdatedAt: Date? = null, pageSize: Int? = null): Single<UserShippingAddresses>

배송지 가져오기
Retrieve shipping address

Link copied to clipboard
fun signup(properties: Map<String, String>? = null): Completable

연결하기
Manual signup

Link copied to clipboard
fun unlink(): Completable

연결 끊기
Unlink

Link copied to clipboard
fun updateProfile(properties: Map<String, String>): Completable

사용자 정보 저장하기
Store user information

Properties

Link copied to clipboard
val authOperations: RxAuthOperations