io.permit.sdk.enforcement.TenantDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permit-sdk-java Show documentation
Show all versions of permit-sdk-java Show documentation
Java SDK for Permit.io: fullstack permissions for cloud native applications
package io.permit.sdk.enforcement;
import io.permit.sdk.util.Context;
import java.util.HashMap;
/**
* The {@code TenantDetails} class represents a single tenant information fetched from the PDP (key and attributes).
*/
public class TenantDetails {
public final String key;
public final HashMap attributes;
public TenantDetails(String key, HashMap attributes) {
this.key = key;
this.attributes = attributes;
}
}