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

cn.authing.sdk.java.dto.SendEnrollFactorRequestDataDto 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.SendEnrollFactorRequestOtpDataDto;


public class SendEnrollFactorRequestDataDto {
    /**
     * 临时凭证 enrollmentToken,有效时间为一分钟。在进行「绑定 MFA 认证要素」时,需要带上此参数。
     */
    @JsonProperty("enrollmentToken")
    private String enrollmentToken;
    /**
     * 发起绑定 OTP 类型认证要素时,接口会返回此数据。
     */
    @JsonProperty("otpData")
    private SendEnrollFactorRequestOtpDataDto otpData;

    public String getEnrollmentToken() {
        return enrollmentToken;
    }
    public void setEnrollmentToken(String enrollmentToken) {
        this.enrollmentToken = enrollmentToken;
    }

    public SendEnrollFactorRequestOtpDataDto getOtpData() {
        return otpData;
    }
    public void setOtpData(SendEnrollFactorRequestOtpDataDto otpData) {
        this.otpData = otpData;
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy