com.aiwiown.face.response.LiteTokenResponse Maven / Gradle / Ivy
package com.aiwiown.face.response;
import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.internal.mapping.ApiField;
/**
*
*
* LiteTokenResponse
* Date: 2020/4/23 0023
* Time: 15:13
*
* @author [email protected]
*/
public class LiteTokenResponse extends ApiResponse {
private static final long serialVersionUID = -6802498520256529669L;
/**
* 一个字符串,可用于DoVerification接口,调用DoVerification时传入此参数,即可按照上述配置进行活体检测。
*
* (注:每个token只能被使用一次)
*/
@ApiField("token")
private String token;
/**
* 业务流串号,可以用于反查比对结果
*/
@ApiField("biz_id")
private String bizId;
/**
* 一个时间戳,表示token的有效期。
*/
@ApiField("expired_time")
private Integer expiredTime;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public String getBizId() {
return bizId;
}
public void setBizId(String bizId) {
this.bizId = bizId;
}
public Integer getExpiredTime() {
return expiredTime;
}
public void setExpiredTime(Integer expiredTime) {
this.expiredTime = expiredTime;
}
}