Package com.kakao.sdk.user.model

카카오 로그인 API 모델 클래스
Model class of the Kakao Login APIs

Types

Link copied to clipboard
data class AccessTokenInfo(id: Long?, expiresIn: Long, appId: Int, expiresInMillis: Long?) : Parcelable

액세스 토큰 정보
Access token information

Link copied to clipboard
data class Account(profileNeedsAgreement: Boolean?, profileNicknameNeedsAgreement: Boolean?, profileImageNeedsAgreement: Boolean?, profile: Profile?, nameNeedsAgreement: Boolean?, name: String?, emailNeedsAgreement: Boolean?, isEmailValid: Boolean?, isEmailVerified: Boolean?, email: String?, ageRangeNeedsAgreement: Boolean?, ageRange: AgeRange?, birthyearNeedsAgreement: Boolean?, birthyear: String?, birthdayNeedsAgreement: Boolean?, birthday: String?, birthdayType: BirthdayType?, genderNeedsAgreement: Boolean?, gender: Gender?, ciNeedsAgreement: Boolean?, ci: String?, ciAuthenticatedAt: Date?, legalNameNeedsAgreement: Boolean?, legalName: String?, legalBirthDateNeedsAgreement: Boolean?, legalBirthDate: String?, legalGenderNeedsAgreement: Boolean?, legalGender: Gender?, phoneNumberNeedsAgreement: Boolean?, phoneNumber: String?, isKoreanNeedsAgreement: Boolean?, isKorean: Boolean?) : Parcelable

카카오계정 정보
Kakao Account information

Link copied to clipboard
enum AgeRange : Enum<AgeRange>

연령대
Age range

Link copied to clipboard
enum BirthdayType : Enum<BirthdayType>

생일 타입
Birthday type

Link copied to clipboard
enum Gender : Enum<Gender>

성별
Gender

Link copied to clipboard
data class Profile(nickname: String?, profileImageUrl: String?, thumbnailImageUrl: String?, isDefaultImage: Boolean?) : Parcelable

프로필 정보
Profile information

Link copied to clipboard
data class RevokedServiceTerms(tag: String, agreed: Boolean)

동의 철회된 서비스 약관 정보
Revoked service terms information

Link copied to clipboard
data class Scope(id: String, displayName: String, type: ScopeType, using: Boolean, delegated: Boolean?, agreed: Boolean, revocable: Boolean?) : Parcelable

동의항목 정보
Scope information

Link copied to clipboard
data class ScopeInfo(id: Long, scopes: List<Scope>?) : Parcelable

사용자 동의 내역
User consent history

Link copied to clipboard
enum ScopeType : Enum<ScopeType>

동의항목 타입
Scope type

Link copied to clipboard
data class ServiceTerms(tag: String, required: Boolean, agreed: Boolean, revocable: Boolean, agreedAt: Date?)

서비스 약관 정보
Service terms information

Link copied to clipboard
data class ShippingAddress(id: Long, name: String?, isDefault: Boolean, updatedAt: Date?, type: ShippingAddressType?, baseAddress: String?, detailAddress: String?, receiverName: String?, receiverPhoneNumber1: String?, receiverPhoneNumber2: String?, zoneNumber: String?, zipCode: String?)

배송지 정보
Shipping address information

Link copied to clipboard
enum ShippingAddressType : Enum<ShippingAddressType>

배송지 타입
Shipping address type

Link copied to clipboard
data class User(id: Long?, properties: Map<String, String>?, kakaoAccount: Account?, groupUserToken: String?, connectedAt: Date?, synchedAt: Date?, hasSignedUp: Boolean?) : Parcelable

사용자 정보 가져오기 응답
Response for Retrieve user information

Link copied to clipboard
data class UserRevokedServiceTerms(id: Long, revokedServiceTerms: List<RevokedServiceTerms>?)

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

Link copied to clipboard
data class UserServiceTerms(id: Long, serviceTerms: List<ServiceTerms>?)

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

Link copied to clipboard
data class UserShippingAddresses(userId: Long?, needsAgreement: Boolean?, shippingAddresses: List<ShippingAddress>?)

배송지 가져오기 응답
Response for Retrieve shipping address