CertApiClient

class CertApiClient(manager: CertApiManager = CertApiManager.instance, intentResolveClient: IntentResolveClient = IntentResolveClient.instance)

Constructors

Link copied to clipboard
constructor(manager: CertApiManager = CertApiManager.instance, intentResolveClient: IntentResolveClient = IntentResolveClient.instance)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@JvmOverloads
fun certLoginWithKakaoAccount(context: Context, certType: CertType, prompts: List<Prompt>? = null, identifyItems: List<IdentifyItem>? = null, signData: String? = null, settleId: String? = null, nonce: String? = null, loginHint: String? = null, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, callback: (certTokenInfo: CertTokenInfo?, error: Throwable?) -> Unit)

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

Link copied to clipboard
@JvmOverloads
fun certLoginWithKakaoTalk(context: Context, certType: CertType, signData: String? = null, settleId: String? = null, txId: String? = null, prompts: List<Prompt>? = null, identifyItems: List<IdentifyItem>? = null, requestCode: Int = AuthCodeClient.DEFAULT_REQUEST_CODE, nonce: String? = null, channelPublicIds: List<String>? = null, serviceTerms: List<String>? = null, callback: (certTokenInfo: CertTokenInfo?, error: Throwable?) -> Unit)

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

Link copied to clipboard
fun deleteKeyPair(certType: CertType)

임시 키 쌍 삭제
Delete key pair

Link copied to clipboard
fun isKakaoTalkSignAvailable(context: Context): Boolean

카카오톡으로 사용자 서명 가능 여부 조회
Checks whether the Request user signature is available

Link copied to clipboard
fun isValidSession(certType: CertType): Boolean

세션 유효성 조회
Validate session

Link copied to clipboard
fun publicKey(certType: CertType): String?

공개 키 조회
Retrieve public key

Link copied to clipboard
fun reducedSign(certType: CertType, data: String, callback: (signature: String?, error: Throwable?) -> Unit)

축약서명
Sign for abbreviated signature

Link copied to clipboard

세션 정보 반환
Returns session infomation

fun sessionInfo(certType: CertType, txId: String, callback: (sessionInfo: SessionInfo?, error: Throwable?) -> Unit)

세션 정보 조회
Retrieve session infomation

Link copied to clipboard
@JvmOverloads
fun sessionInfoByAppKey(certType: CertType, txId: String, targetAppKey: String? = null, callback: (sessionInfo: SessionInfo?, error: Throwable?) -> Unit)

세션 정보 조회
Retrieve session infomation

Link copied to clipboard
@JvmOverloads
fun signWithKakaoTalk(context: Context, certType: CertType, txId: String, targetAppKey: String? = null, callback: (signStatusInfo: SignStatusInfo?, error: Throwable?) -> Unit)

사용자 서명 요청
Request user signature