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
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
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

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

Link copied to clipboard

세션 유효성 확인하기
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
fun sessionInfoByAppKey(certType: CertType, txId: String, targetAppKey: String? = null, callback: (sessionInfo: SessionInfo?, error: Throwable?) -> Unit)

세션 정보 가져오기
Retrieve session infomation

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

사용자 서명 요청하기
Request user signature