com.aiwiown.face.response.PcTokenResponse Maven / Gradle / Ivy
package com.aiwiown.face.response;
import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.internal.mapping.ApiField;
/**
*
*
* PcTokenResponse
* Date: 2020/5/11 0011
* Time: 15:13
*
* @author [email protected]
*/
public class PcTokenResponse extends ApiResponse {
private static final long serialVersionUID = -6398921691353881364L;
/**
* 一个字符串,可用于DoVerification接口,调用DoVerification时传入此参数,即可按照上述配置进行活体检测。
*
* (注:每个token只能被使用一次)
*/
@ApiField("token")
private String token;
/**
* 一个时间戳,表示token的有效期。
*/
@ApiField("expired_time")
private Integer expiredTime;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public Integer getExpiredTime() {
return expiredTime;
}
public void setExpiredTime(Integer expiredTime) {
this.expiredTime = expiredTime;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy