导航菜单

页面标题

页面副标题

Rilo v2.0.21 - VerificationService.java 源代码

正在查看: Rilo v2.0.21 应用的 VerificationService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.truecaller.android.sdk.network;

import com.truecaller.android.sdk.models.CreateInstallationModel;
import com.truecaller.android.sdk.models.VerifyInstallationModel;
import java.util.Map;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;

public interface VerificationService {
    public static final String BASE_URL = "https://sdk-otp-verification-noneu.truecaller.com/v3/otp/installation/";
    public static final String FINGERPRINT_HEADER = "fingerPrint";
    public static final String JSON_KEY_ACCESS_TOKEN = "accessToken";
    public static final String JSON_KEY_PATTERN = "pattern";
    public static final String JSON_KEY_REQ_NONCE = "requestNonce";
    public static final String JSON_KEY_STATUS = "status";
    public static final String JSON_KEY_VERIFICATION_TOKEN = "verificationToken";
    public static final String KEY_REQUEST_HEADER = "appKey";

    @POST("create")
    Call<Map<String, Object>> createInstallation(@Header("appKey") String str, @Header("fingerPrint") String str2, @Body CreateInstallationModel createInstallationModel);

    @POST("verify")
    Call<Map<String, Object>> verifyInstallation(@Header("appKey") String str, @Header("fingerPrint") String str2, @Body VerifyInstallationModel verifyInstallationModel);
}