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

io.github.factoryfx.microservice.common.CheckUserResponse Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy