io.github.factoryfx.microservice.common.CheckUserResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microserviceRestCommon Show documentation
Show all versions of microserviceRestCommon Show documentation
factoryfx dependency injection framework
The newest version!
package io.github.factoryfx.microservice.common;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CheckUserResponse {
public final boolean valid;
public final Collection permissions;
@JsonCreator
public CheckUserResponse(@JsonProperty("valid") boolean valid, @JsonProperty("permissions") Collection permissions) {
this.valid = valid;
this.permissions = permissions;
}
}