diff --git a/build.savant b/build.savant index 9c47baa5..4e5b5b74 100644 --- a/build.savant +++ b/build.savant @@ -15,7 +15,7 @@ */ savantVersion = "1.0.0" -project(group: "io.fusionauth", name: "fusionauth-netcore-client", version: "1.21.0", licenses: ["ApacheV2_0"]) { +project(group: "io.fusionauth", name: "fusionauth-netcore-client", version: "1.20.0", licenses: ["ApacheV2_0"]) { workflow { standard() } diff --git a/fusionauth-netcore-client-test/fusionauth-netcore-client-test/fusionauth-netcore-client-test.csproj b/fusionauth-netcore-client-test/fusionauth-netcore-client-test/fusionauth-netcore-client-test.csproj index 283ff14c..466f8151 100644 --- a/fusionauth-netcore-client-test/fusionauth-netcore-client-test/fusionauth-netcore-client-test.csproj +++ b/fusionauth-netcore-client-test/fusionauth-netcore-client-test/fusionauth-netcore-client-test.csproj @@ -2,7 +2,7 @@ - 1.21.0 + 1.20.0 FusionAuth.Client.Test netcoreapp3.1 diff --git a/fusionauth-netcore-client/domain/io/fusionauth/domain/Application.cs b/fusionauth-netcore-client/domain/io/fusionauth/domain/Application.cs index 1df732aa..86b64ff8 100644 --- a/fusionauth-netcore-client/domain/io/fusionauth/domain/Application.cs +++ b/fusionauth-netcore-client/domain/io/fusionauth/domain/Application.cs @@ -37,6 +37,8 @@ public class Application { public ApplicationEmailConfiguration emailConfiguration; + public ApplicationFormConfiguration formConfiguration; + public Guid? id; public DateTimeOffset? insertInstant; diff --git a/fusionauth-netcore-client/domain/io/fusionauth/domain/ApplicationFormConfiguration.cs b/fusionauth-netcore-client/domain/io/fusionauth/domain/ApplicationFormConfiguration.cs new file mode 100644 index 00000000..1d3b832a --- /dev/null +++ b/fusionauth-netcore-client/domain/io/fusionauth/domain/ApplicationFormConfiguration.cs @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2018, FusionAuth, All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + */ + + +using System.Collections.Generic; +using System; + +namespace io.fusionauth.domain { + + /** + * @author Daniel DeGroff + */ + public class ApplicationFormConfiguration { + + public Guid? adminRegistrationFormId; + + public ApplicationFormConfiguration with(Action action) { + action(this); + return this; + } + } +} diff --git a/fusionauth-netcore-client/domain/io/fusionauth/domain/Tenant.cs b/fusionauth-netcore-client/domain/io/fusionauth/domain/Tenant.cs index b695f6d3..964c75ee 100644 --- a/fusionauth-netcore-client/domain/io/fusionauth/domain/Tenant.cs +++ b/fusionauth-netcore-client/domain/io/fusionauth/domain/Tenant.cs @@ -42,6 +42,8 @@ public class Tenant { public FamilyConfiguration familyConfiguration; + public TenantFormConfiguration formConfiguration; + public int? httpSessionMaxInactiveInterval; public Guid? id; diff --git a/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantFormConfiguration.cs b/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantFormConfiguration.cs new file mode 100644 index 00000000..8f56b140 --- /dev/null +++ b/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantFormConfiguration.cs @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2018, FusionAuth, All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + */ + + +using System.Collections.Generic; +using System; + +namespace io.fusionauth.domain { + + /** + * @author Daniel DeGroff + */ + public class TenantFormConfiguration { + + public Guid? adminUserFormId; + + public TenantFormConfiguration with(Action action) { + action(this); + return this; + } + } +} diff --git a/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormType.cs b/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormType.cs index fe7250a8..477db546 100644 --- a/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormType.cs +++ b/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormType.cs @@ -24,6 +24,8 @@ namespace io.fusionauth.domain.form { * @author Daniel DeGroff */ public enum FormType { - registration + registration, + adminRegistration, + adminUser } } diff --git a/fusionauth-netcore-client/fusionauth-netcore-client.csproj b/fusionauth-netcore-client/fusionauth-netcore-client.csproj index 217003b0..f70627e7 100644 --- a/fusionauth-netcore-client/fusionauth-netcore-client.csproj +++ b/fusionauth-netcore-client/fusionauth-netcore-client.csproj @@ -2,7 +2,7 @@ - 1.21.0 + 1.20.0 FusionAuth .net Standard Client FusionAuth.Client true