io.phasetwo.keycloak.magic.representation.MagicLinkRequest Maven / Gradle / Ivy
package io.phasetwo.keycloak.magic.representation;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@Data
public class MagicLinkRequest {
@JsonProperty("username")
private String username;
@JsonProperty("email")
private String email;
@JsonProperty("client_id")
private String clientId;
@JsonProperty("redirect_uri")
private String redirectUri;
@JsonProperty("expiration_seconds")
private int expirationSeconds = 60 * 60 * 24;
@JsonProperty("force_create")
private boolean forceCreate = false;
@JsonProperty("update_profile")
private boolean updateProfile = false;
@JsonProperty("send_email")
private boolean sendEmail = false;
}