Beispiel #1
0
 private void Clients_Click(object sender, EventArgs e)
 {
     panel1.Controls.Clear();
     Clients.Clients frm = new Clients.Clients();
     frm.TopLevel = false;
     panel1.Controls.Add(frm);
     frm.Dock = DockStyle.Fill;
     frm.Show();
 }
Beispiel #2
0
 public KeycloakClientShould()
 {
     if (AttackDetectionClient == null)
     {
         AttackDetectionClient = new AttackDetection.AttackDetection();
     }
     if (AuthenticationManagementClient == null)
     {
         AuthenticationManagementClient = new AuthenticationManagement.AuthenticationManagement();
     }
     if (ClientAttributeCertificateClient == null)
     {
         ClientAttributeCertificateClient = new ClientAttributeCertificate.ClientAttributeCertificate();
     }
     if (ClientInitialAccessClient == null)
     {
         ClientInitialAccessClient = new ClientInitialAccess.ClientInitialAccess();
     }
     if (ClientRegistrationPolicyClient == null)
     {
         ClientRegistrationPolicyClient = new ClientRegistrationPolicy.ClientRegistrationPolicy();
     }
     if (ClientRoleMappingsClient == null)
     {
         ClientRoleMappingsClient = new ClientRoleMappings.ClientRoleMappings();
     }
     if (ClientsClient == null)
     {
         ClientsClient = new Clients.Clients();
     }
     if (ClientScopesClient == null)
     {
         ClientScopesClient = new ClientScopes.ClientScopes();
     }
     if (ComponentsClient == null)
     {
         ComponentsClient = new Components.Components();
     }
     if (GroupsClient == null)
     {
         GroupsClient = new Groups.Groups();
     }
     if (IdentityProvidersClient == null)
     {
         IdentityProvidersClient = new IdentityProviders.IdentityProviders();
     }
     if (KeyClient == null)
     {
         KeyClient = new Key.Key();
     }
     if (ProtocolMappersClient == null)
     {
         ProtocolMappersClient = new ProtocolMappers.ProtocolMappers();
     }
     if (RealmsAdminClient == null)
     {
         RealmsAdminClient = new RealmsAdmin.RealmsAdmin();
     }
     if (RoleMapperClient == null)
     {
         RoleMapperClient = new RoleMapper.RoleMapper();
     }
     if (RolesClient == null)
     {
         RolesClient = new Roles.Roles();
     }
     if (RolesByIdClient == null)
     {
         RolesByIdClient = new RolesById.RolesById();
     }
     if (RootClient == null)
     {
         RootClient = new Root.Root();
     }
     if (ScopeMappingsClient == null)
     {
         ScopeMappingsClient = new ScopeMappings.ScopeMappings();
     }
     if (UsersClient == null)
     {
         UsersClient = new Users.Users();
     }
     if (UserStorageProviderClient == null)
     {
         UserStorageProviderClient = new UserStorageProvider.UserStorageProvider();
     }
 }