All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.authing.sdk.java.dto.PublicKeyCredentialCreationOptionsDto Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package cn.authing.sdk.java.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

import cn.authing.sdk.java.dto.PublicKeyCredentialDescriptorDto;
import cn.authing.sdk.java.dto.PublicKeyCredentialParametersDto;
import cn.authing.sdk.java.dto.PublicKeyCredentialRpEntityDto;
import cn.authing.sdk.java.dto.PublicKeyCredentialUserEntityDto;


public class PublicKeyCredentialCreationOptionsDto {
    /**
     * 挑战码, base64Url 编码
     */
    @JsonProperty("challenge")
    private String challenge;
    /**
     * 用于标识要排除的凭证,可以避免同一个用户多次注册同一个认证器
     */
    @JsonProperty("excludeCredentials")
    private List excludeCredentials;
    /**
     * 算法列表,指明信赖方接受哪些签名算法
     */
    @JsonProperty("pubKeyCredParams")
    private List pubKeyCredParams;
    /**
     * 信赖方信息
     */
    @JsonProperty("rp")
    private PublicKeyCredentialRpEntityDto rp;
    /**
     * 超时时间(毫秒值)
     */
    @JsonProperty("timeout")
    private Integer timeout;
    /**
     * 用户信息
     */
    @JsonProperty("user")
    private PublicKeyCredentialUserEntityDto user;

    public String getChallenge() {
        return challenge;
    }
    public void setChallenge(String challenge) {
        this.challenge = challenge;
    }

    public List getExcludeCredentials() {
        return excludeCredentials;
    }
    public void setExcludeCredentials(List excludeCredentials) {
        this.excludeCredentials = excludeCredentials;
    }

    public List getPubKeyCredParams() {
        return pubKeyCredParams;
    }
    public void setPubKeyCredParams(List pubKeyCredParams) {
        this.pubKeyCredParams = pubKeyCredParams;
    }

    public PublicKeyCredentialRpEntityDto getRp() {
        return rp;
    }
    public void setRp(PublicKeyCredentialRpEntityDto rp) {
        this.rp = rp;
    }

    public Integer getTimeout() {
        return timeout;
    }
    public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }

    public PublicKeyCredentialUserEntityDto getUser() {
        return user;
    }
    public void setUser(PublicKeyCredentialUserEntityDto user) {
        this.user = user;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy