"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SSOConfig = void 0; const Entity_1 = require("../../../../shared/domain/Entity"); const UniqueId_1 = require("../../../../shared/domain/UniqueId"); class SSOConfig extends Entity_1.Entity { static create(props, id) { return new SSOConfig(props, id ?? UniqueId_1.UniqueId.create()); } static reconstitute(props, id) { return new SSOConfig(props, id); } get organizationId() { return this.props.organizationId; } get provider() { return this.props.provider; } get enabled() { return this.props.enabled; } get config() { return this.props.config; } get createdAt() { return this.props.createdAt; } enable() { this.props.enabled = true; } disable() { this.props.enabled = false; } } exports.SSOConfig = SSOConfig;