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

com.wultra.security.powerauth.client.model.request.InitActivationRequest Maven / Gradle / Ivy

The newest version!
/*
 * PowerAuth Server and related software components
 * Copyright (C) 2021 Wultra s.r.o.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 */

package com.wultra.security.powerauth.client.model.request;

import com.wultra.security.powerauth.client.model.enumeration.ActivationOtpValidation;
import com.wultra.security.powerauth.client.model.enumeration.ActivationProtocol;
import com.wultra.security.powerauth.client.model.enumeration.CommitPhase;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Model class representing request for initializing activation.
 *
 * @author Petr Dvorak, [email protected]
 */
@Data
public class InitActivationRequest {

    private ActivationProtocol protocol = ActivationProtocol.POWERAUTH;
    private String userId;
    private String applicationId;
    private Date timestampActivationExpire;
    private Long maxFailureCount;
    /**
     * @deprecated use {@link #activationOtp} for enabling OTP check and {@link #commitPhase} for controlling activation commit
     */
    @Deprecated
    private ActivationOtpValidation activationOtpValidation;
    private CommitPhase commitPhase;
    @ToString.Exclude
    private String activationOtp;
    private List flags = new ArrayList<>();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy