com.descope.model.tenant.TenantSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java library used to integrate with Descope.
package com.descope.model.tenant;
import com.descope.enums.TenantAuthType;
import com.fasterxml.jackson.annotation.JsonAlias;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TenantSettings {
List domains;
List selfProvisioningDomains;
@JsonAlias({"enabled"})
Boolean sessionSettingsEnabled;
Integer refreshTokenExpiration;
String refreshTokenExpirationUnit;
Integer sessionTokenExpiration;
String sessionTokenExpirationUnit;
Boolean enableInactivity;
Integer inactivityTime;
String inactivityTimeUnit;
@JsonAlias({"JITDisabled"})
Boolean jitDisabled;
TenantAuthType authType; // authType can be either "oidc" or "saml"
}