using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.KeyCloak { public class KeycloakClientDTO { public string ClientId { get; set; } public string Realm { get; set; } public string Name { get; set; } public bool Enabled { get; set; } = true; public string Protocol { get; set; } = "openid-connect"; public bool PublicClient { get; set; } = false; public string RootUrl { get; set; } public List RedirectUris { get; set; } public List PostLogoutRedirectUris { get; set; } // e.g. ["http://localhost:5000/*"] public List WebOrigins { get; set; } public string BaseUrl { get; set; } public string AdminUrl { get; set; } public bool StandardFlowEnabled { get; set; } = true; public bool ImplicitFlowEnabled { get; set; } = false; public bool DirectAccessGrantsEnabled { get; set; } = true; public bool ServiceAccountsEnabled { get; set; } = true; public bool AuthorizationServicesEnabled { get; set; } = true; public bool FullScopeAllowed { get; set; } = true; } }