Skip to content

Commit

Permalink
domain sync
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Sep 3, 2024
1 parent 475a12b commit f2094d3
Show file tree
Hide file tree
Showing 52 changed files with 246 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public class ExternalIdentifierConfiguration {

public int? externalAuthenticationIdTimeToLiveInSeconds;

public int? loginIntentTimeToLiveInSeconds;

public int? oneTimePasswordTimeToLiveInSeconds;

public SecureGeneratorConfiguration passwordlessLoginGenerator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public enum LambdaType {
SCIMServerUserRequestConverter,
SCIMServerUserResponseConverter,
SelfServiceRegistrationValidation,
UserInfoPopulate
UserInfoPopulate,
LoginValidation
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public class SystemConfiguration {

public UIConfiguration uiConfiguration;

public WebhookEventLogConfiguration webhookEventLogConfiguration;

public SystemConfiguration with(Action<SystemConfiguration> action) {
action(this);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ namespace io.fusionauth.domain
*/
public class TenantLambdaConfiguration {

public Guid? loginValidationId;

public Guid? scimEnterpriseUserRequestConverterId;

public Guid? scimEnterpriseUserResponseConverterId;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018-2023, 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 com.inversoft.error;
using System.Collections.Generic;
using System;

namespace io.fusionauth.domain
{

/**
* The reason for the login failure.
*
* @author Daniel DeGroff
*/
public class UserLoginFailedReason {

public string code;

public Guid? lambdaId;

public Errors lambdaResult;

public UserLoginFailedReason with(Action<UserLoginFailedReason> action) {
action(this);
return this;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* Copyright (c) 2018-2023, 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
{

/**
* User login failed reason codes.
*/
public class UserLoginFailedReasonCode {

public UserLoginFailedReasonCode with(Action<UserLoginFailedReasonCode> action) {
action(this);
return this;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace io.fusionauth.domain.@event
{

/**
* Event event to an audit log was created.
* Event to indicate an audit log was created.
*
* @author Daniel DeGroff
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace io.fusionauth.domain.@event
{

/**
* Base-class for all FusionAuth events.
* Base class for all FusionAuth events.
*
* @author Brian Pontarelli
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -27,9 +26,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupCreateCompleteEvent: BaseEvent {

public Group group;
public class GroupCreateCompleteEvent: BaseGroupEvent {

public GroupCreateCompleteEvent with(Action<GroupCreateCompleteEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -27,9 +26,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupCreateEvent: BaseEvent {

public Group group;
public class GroupCreateEvent: BaseGroupEvent {

public GroupCreateEvent with(Action<GroupCreateEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -27,9 +26,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupDeleteCompleteEvent: BaseEvent {

public Group group;
public class GroupDeleteCompleteEvent: BaseGroupEvent {

public GroupDeleteCompleteEvent with(Action<GroupDeleteCompleteEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -27,9 +26,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupDeleteEvent: BaseEvent {

public Group group;
public class GroupDeleteEvent: BaseGroupEvent {

public GroupDeleteEvent with(Action<GroupDeleteEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupMemberAddCompleteEvent: BaseEvent {

public Group group;
public class GroupMemberAddCompleteEvent: BaseGroupEvent {

public List<GroupMember> members;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupMemberAddEvent: BaseEvent {

public Group group;
public class GroupMemberAddEvent: BaseGroupEvent {

public List<GroupMember> members;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupMemberRemoveCompleteEvent: BaseEvent {

public Group group;
public class GroupMemberRemoveCompleteEvent: BaseGroupEvent {

public List<GroupMember> members;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupMemberRemoveEvent: BaseEvent {

public Group group;
public class GroupMemberRemoveEvent: BaseGroupEvent {

public List<GroupMember> members;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupMemberUpdateCompleteEvent: BaseEvent {

public Group group;
public class GroupMemberUpdateCompleteEvent: BaseGroupEvent {

public List<GroupMember> members;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupMemberUpdateEvent: BaseEvent {

public Group group;
public class GroupMemberUpdateEvent: BaseGroupEvent {

public List<GroupMember> members;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupUpdateCompleteEvent: BaseEvent {

public Group group;
public class GroupUpdateCompleteEvent: BaseGroupEvent {

public Group original;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class GroupUpdateEvent: BaseEvent {

public Group group;
public class GroupUpdateEvent: BaseGroupEvent {

public Group original;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -29,9 +28,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class UserCreateCompleteEvent: BaseEvent {

public User user;
public class UserCreateCompleteEvent: BaseUserEvent {

public UserCreateCompleteEvent with(Action<UserCreateCompleteEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -27,9 +26,7 @@ namespace io.fusionauth.domain.@event
*
* @author Brian Pontarelli
*/
public class UserCreateEvent: BaseEvent {

public User user;
public class UserCreateEvent: BaseUserEvent {

public UserCreateEvent with(Action<UserCreateEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -27,9 +26,7 @@ namespace io.fusionauth.domain.@event
*
* @author Brian Pontarelli
*/
public class UserDeactivateEvent: BaseEvent {

public User user;
public class UserDeactivateEvent: BaseUserEvent {

public UserDeactivateEvent with(Action<UserDeactivateEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -30,9 +29,7 @@ namespace io.fusionauth.domain.@event
*
* @author Daniel DeGroff
*/
public class UserDeleteCompleteEvent: BaseEvent {

public User user;
public class UserDeleteCompleteEvent: BaseUserEvent {

public UserDeleteCompleteEvent with(Action<UserDeleteCompleteEvent> action) {
action(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/


using io.fusionauth.domain;
using System.Collections.Generic;
using System;

Expand All @@ -28,9 +27,7 @@ namespace io.fusionauth.domain.@event
*
* @author Brian Pontarelli
*/
public class UserDeleteEvent: BaseEvent {

public User user;
public class UserDeleteEvent: BaseUserEvent {

public UserDeleteEvent with(Action<UserDeleteEvent> action) {
action(this);
Expand Down
Loading

0 comments on commit f2094d3

Please sign in to comment.