CertApiClient

class CertApiClient(manager: CertApiManager)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun certLoginWithKakaoAccount(context: Context, certType: CertType, prompts: List<Prompt>? = 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)

채널 메시지 방식 카카오톡 인증 로그인

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

앱투앱(App-to-App) 방식 카카오톡 인증 로그인

Link copied to clipboard
fun deleteKeyPair()

임시 키 쌍을 삭제합니다. 세션 정보도 함께 삭제됩니다.

Link copied to clipboard
fun isValidSession(): Boolean

세션이 유효한지 확인합니다.

Link copied to clipboard
fun publicKey(): String?

공개키를 반환합니다. 공개키가 없다면 임시 키 쌍 생성 및 세션 정보 초기화 후 공개키를 반환합니다.

Link copied to clipboard
fun sessionInfo(): SessionInfo?

세션 정보를 반환합니다.

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

생성된 임시 키 쌍의 유효성 확인 후 세션 정보를 반환합니다.

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

유효한 개인키로 서명한 전자서명 값을 반환합니다.