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

ee.sk.smartid.rest.dao.InteractionFlow Maven / Gradle / Ivy

Go to download

Smart-ID Java client is a Java library that can be used for easy integration of the Smart-ID solution to information systems or e-services

There is a newer version: 2.3
Show newest version
package ee.sk.smartid.rest.dao;

import com.fasterxml.jackson.annotation.JsonValue;

public enum InteractionFlow {

    DISPLAY_TEXT_AND_PIN("displayTextAndPIN"),
    CONFIRMATION_MESSAGE("confirmationMessage"),
    VERIFICATION_CODE_CHOICE("verificationCodeChoice"),
    CONFIRMATION_MESSAGE_AND_VERIFICATION_CODE_CHOICE("confirmationMessageAndVerificationCodeChoice");

    private String code;

    InteractionFlow(String code) {
        this.code = code;
    }

    @JsonValue
    public String getCode() {
        return code;
    }

    public boolean is(String typeCodeString) {
        return this.getCode().equals(typeCodeString);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy