cn.authing.sdk.java.dto.RegistrationCredentialDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of authing-java-sdk Show documentation
Show all versions of authing-java-sdk Show documentation
java backend sdk for authing
package cn.authing.sdk.java.dto;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import cn.authing.sdk.java.dto.AuthenticatorAttestationResponseDto;
public class RegistrationCredentialDto {
/**
* Base64URL 编码的凭证 ID
*/
@JsonProperty("id")
private String id;
/**
* 原始凭证 ID
*/
@JsonProperty("rawId")
private String rawId;
/**
* 供信赖方以供验证与注册的对象
*/
@JsonProperty("response")
private AuthenticatorAttestationResponseDto response;
/**
* 可选参数,凭证所需的认证器与用户代理的通信方式:
* - `ble`: 可以通过蓝牙连接的认证器
* - `internal`: 平台内置的、无法移除的认证器
* - `nfc`: 可以通过 NFC 连接的认证器
* - `usb`: 可以通过 USB 连接的认证器
*
*/
@JsonProperty("transports")
private List transports;
/**
* 固定值,'public-key'
*/
@JsonProperty("type")
private String type;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getRawId() {
return rawId;
}
public void setRawId(String rawId) {
this.rawId = rawId;
}
public AuthenticatorAttestationResponseDto getResponse() {
return response;
}
public void setResponse(AuthenticatorAttestationResponseDto response) {
this.response = response;
}
public List getTransports() {
return transports;
}
public void setTransports(List transports) {
this.transports = transports;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}