User Api Client
class UserApiClient(userApi: UserApi = ApiFactory.kapiWithOAuth.create(UserApi::class.java), userApiNoLog: UserApi = ApiFactory.kapiWithOAuthNoLog.create(UserApi::class.java), tokenManagerProvider: TokenManagerProvider = TokenManagerProvider.instance)
카카오 로그인 API 클라이언트
Client for the Kakao Login APIs
Constructors
Link copied to clipboard
constructor(userApi: UserApi = ApiFactory.kapiWithOAuth.create(UserApi::class.java), userApiNoLog: UserApi = ApiFactory.kapiWithOAuthNoLog.create(UserApi::class.java), tokenManagerProvider: TokenManagerProvider = TokenManagerProvider.instance)
Functions
Link copied to clipboard
액세스 토큰 정보 조회
Access token information
Link copied to clipboard
카카오톡으로 로그인 가능 여부 확인
Checks whether the Login with Kakao Talk API is available
Link copied to clipboard
@JvmOverloads
카카오계정으로 로그인
Login with Kakao Account
Link copied to clipboard
@JvmOverloads
카카오톡으로 로그인
Login with Kakao Talk
Link copied to clipboard
fun loginWithNewScopes(context: Context, scopes: List<String>, nonce: String? = null, callback: (token: OAuthToken?, error: Throwable?) -> Unit)
동의항목 추가 동의 요청
Request additional consent
Link copied to clipboard
fun revokeScopes(scopes: List<String>, callback: (scopeInfo: ScopeInfo?, error: Throwable?) -> Unit)
동의항목 동의 철회
Revoke consent
Link copied to clipboard
fun revokeServiceTerms(tags: List<String>, callback: (userRevokedServiceTerms: UserRevokedServiceTerms?, error: Throwable?) -> Unit)
서비스 약관 동의 철회
Revoke consent for service terms
Link copied to clipboard
fun selectShippingAddress(context: Context, callback: (addressId: Long?, error: Throwable?) -> Unit)
배송지 선택
Select shipping address
Link copied to clipboard
fun serviceTerms(tags: List<String>? = null, result: String? = null, callback: (userServiceTerms: UserServiceTerms?, error: Throwable?) -> Unit)
서비스 약관 동의 내역 조회
Retrieve consent details for service terms
Link copied to clipboard
fun shippingAddresses(addressId: Long, callback: (userShippingAddresses: UserShippingAddresses?, error: Throwable?) -> Unit)
@JvmOverloads
배송지 조회
Retrieve shipping address
Link copied to clipboard
사용자 프로퍼티 저장
Store user properties