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

io.permit.sdk.enforcement.GetUserTenantsQuery Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version
package io.permit.sdk.enforcement;

import io.permit.sdk.util.Context;

public final class GetUserTenantsQuery {
    public final User user;
    public final Context context;

    /**
     * input to get user tenants api
     *
     * @param user              the user we'd like to get a list of permissions for.
     * @param context  The context for the authorization check.
     */
    public GetUserTenantsQuery(User user, Context context) {
        this.user = user;
        this.context = context;
    }
    public GetUserTenantsQuery(User user) {
        this(user, new Context());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy