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

org.keycloak.models.credential.dto.RecoveryAuthnCodeRepresentation Maven / Gradle / Ivy

There is a newer version: 26.0.5
Show newest version
package org.keycloak.models.credential.dto;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class RecoveryAuthnCodeRepresentation {

    private final int number;
    private final String encodedHashedValue;

    @JsonCreator
    public RecoveryAuthnCodeRepresentation(@JsonProperty("number") int number,
            @JsonProperty("encodedHashedValue") String encodedHashedValue) {
        this.number = number;
        this.encodedHashedValue = encodedHashedValue;
    }

    public int getNumber() {
        return this.number;
    }

    public String getEncodedHashedValue() {
        return this.encodedHashedValue;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy