├── .github
├── CODEOWNERS
└── workflows
│ └── deploy.yaml
├── .gitignore
├── LICENSE
├── README.md
├── build.savant
├── fusionauth-netcore-client-test
└── fusionauth-netcore-client-test
│ ├── fusionauth-netcore-client-test.csproj
│ ├── fusionauth-netcore-client-test.csproj.DotSettings
│ └── test
│ └── io
│ └── fusionauth
│ ├── ConsentTest.json
│ ├── Example.cs
│ ├── FusionAuthClientTest.cs
│ ├── JWTDateTimeTest.json
│ └── JWTOtherFieldsTest.json
├── fusionauth-netcore-client.iml
└── fusionauth-netcore-client
├── .idea
└── .idea.fusionauth-netcore-client
│ └── .idea
│ ├── indexLayout.xml
│ └── vcs.xml
├── domain
├── com
│ └── inversoft
│ │ └── error
│ │ ├── Error.cs
│ │ └── Errors.cs
└── io
│ └── fusionauth
│ ├── domain
│ ├── APIKey.cs
│ ├── APIKeyMetaData.cs
│ ├── APIKeyPermissions.cs
│ ├── Application.cs
│ ├── ApplicationAccessControlConfiguration.cs
│ ├── ApplicationEmailConfiguration.cs
│ ├── ApplicationExternalIdentifierConfiguration.cs
│ ├── ApplicationFormConfiguration.cs
│ ├── ApplicationMultiFactorConfiguration.cs
│ ├── ApplicationMultiFactorTrustPolicy.cs
│ ├── ApplicationOAuthScope.cs
│ ├── ApplicationRegistrationDeletePolicy.cs
│ ├── ApplicationRole.cs
│ ├── ApplicationWebAuthnConfiguration.cs
│ ├── ApplicationWebAuthnWorkflowConfiguration.cs
│ ├── AuditLog.cs
│ ├── AuditLogConfiguration.cs
│ ├── AuthenticationThreats.cs
│ ├── AuthenticationTokenConfiguration.cs
│ ├── AuthenticatorConfiguration.cs
│ ├── BreachAction.cs
│ ├── BreachMatchMode.cs
│ ├── BreachedPasswordStatus.cs
│ ├── CORSConfiguration.cs
│ ├── CanonicalizationMethod.cs
│ ├── CaptchaMethod.cs
│ ├── CertificateInformation.cs
│ ├── ChangePasswordReason.cs
│ ├── CleanSpeakConfiguration.cs
│ ├── Consent.cs
│ ├── ConsentStatus.cs
│ ├── ContentStatus.cs
│ ├── DeleteConfiguration.cs
│ ├── DisplayableRawLogin.cs
│ ├── EmailConfiguration.cs
│ ├── EmailHeader.cs
│ ├── EmailPlus.cs
│ ├── EmailSecurityType.cs
│ ├── EmailUnverifiedOptions.cs
│ ├── Enableable.cs
│ ├── Entity.cs
│ ├── EntityGrant.cs
│ ├── EntityJWTConfiguration.cs
│ ├── EntityType.cs
│ ├── EntityTypePermission.cs
│ ├── EventConfiguration.cs
│ ├── EventConfigurationData.cs
│ ├── EventInfo.cs
│ ├── EventLog.cs
│ ├── EventLogConfiguration.cs
│ ├── EventLogType.cs
│ ├── ExpiryUnit.cs
│ ├── ExternalIdentifierConfiguration.cs
│ ├── FailedAuthenticationActionCancelPolicy.cs
│ ├── FailedAuthenticationConfiguration.cs
│ ├── Family.cs
│ ├── FamilyConfiguration.cs
│ ├── FamilyMember.cs
│ ├── FamilyRole.cs
│ ├── Group.cs
│ ├── GroupMember.cs
│ ├── HTTPHeaders.cs
│ ├── HistoryItem.cs
│ ├── IPAccessControlEntry.cs
│ ├── IPAccessControlEntryAction.cs
│ ├── IPAccessControlList.cs
│ ├── IdentityProviderLink.cs
│ ├── Integrations.cs
│ ├── JWTConfiguration.cs
│ ├── KafkaConfiguration.cs
│ ├── Key.cs
│ ├── KeyAlgorithm.cs
│ ├── KeyType.cs
│ ├── KeyUse.cs
│ ├── Lambda.cs
│ ├── LambdaConfiguration.cs
│ ├── LambdaEngineType.cs
│ ├── LambdaType.cs
│ ├── LocalizedIntegers.cs
│ ├── LocalizedStrings.cs
│ ├── Location.cs
│ ├── LogHistory.cs
│ ├── LoginConfiguration.cs
│ ├── LoginIdType.cs
│ ├── LoginRecordConfiguration.cs
│ ├── MaximumPasswordAge.cs
│ ├── MinimumPasswordAge.cs
│ ├── MultiFactorAuthenticatorMethod.cs
│ ├── MultiFactorEmailMethod.cs
│ ├── MultiFactorEmailTemplate.cs
│ ├── MultiFactorLoginPolicy.cs
│ ├── MultiFactorSMSMethod.cs
│ ├── MultiFactorSMSTemplate.cs
│ ├── ObjectState.cs
│ ├── OpenIdConfiguration.cs
│ ├── PasswordBreachDetection.cs
│ ├── PasswordEncryptionConfiguration.cs
│ ├── PasswordValidationRules.cs
│ ├── PasswordlessConfiguration.cs
│ ├── RateLimitedRequestConfiguration.cs
│ ├── RateLimitedRequestType.cs
│ ├── RawLogin.cs
│ ├── RefreshTokenExpirationPolicy.cs
│ ├── RefreshTokenOneTimeUseConfiguration.cs
│ ├── RefreshTokenRevocationPolicy.cs
│ ├── RefreshTokenSlidingWindowConfiguration.cs
│ ├── RefreshTokenUsagePolicy.cs
│ ├── RegistrationConfiguration.cs
│ ├── RegistrationType.cs
│ ├── RegistrationUnverifiedOptions.cs
│ ├── RememberPreviousPasswords.cs
│ ├── Requirable.cs
│ ├── RequiresCORSConfiguration.cs
│ ├── SAMLLogoutBehavior.cs
│ ├── SAMLv2AssertionEncryptionConfiguration.cs
│ ├── SAMLv2Configuration.cs
│ ├── SAMLv2DestinationAssertionPolicy.cs
│ ├── SAMLv2IdPInitiatedLoginConfiguration.cs
│ ├── SAMLv2Logout.cs
│ ├── SAMLv2SingleLogout.cs
│ ├── SecureGeneratorConfiguration.cs
│ ├── SecureGeneratorType.cs
│ ├── SecureIdentity.cs
│ ├── SelfServiceFormConfiguration.cs
│ ├── SimpleThemeVariables.cs
│ ├── SystemConfiguration.cs
│ ├── SystemTrustedProxyConfiguration.cs
│ ├── SystemTrustedProxyConfigurationPolicy.cs
│ ├── TOTPAlgorithm.cs
│ ├── Templates.cs
│ ├── Tenant.cs
│ ├── TenantAccessControlConfiguration.cs
│ ├── TenantCaptchaConfiguration.cs
│ ├── TenantFormConfiguration.cs
│ ├── TenantLambdaConfiguration.cs
│ ├── TenantLoginConfiguration.cs
│ ├── TenantMultiFactorConfiguration.cs
│ ├── TenantOAuth2Configuration.cs
│ ├── TenantRateLimitConfiguration.cs
│ ├── TenantRegistrationConfiguration.cs
│ ├── TenantSCIMServerConfiguration.cs
│ ├── TenantSSOConfiguration.cs
│ ├── TenantUnverifiedConfiguration.cs
│ ├── TenantUserDeletePolicy.cs
│ ├── TenantUsernameConfiguration.cs
│ ├── TenantWebAuthnConfiguration.cs
│ ├── TenantWebAuthnWorkflowConfiguration.cs
│ ├── Tenantable.cs
│ ├── Theme.cs
│ ├── ThemeType.cs
│ ├── TimeBasedDeletePolicy.cs
│ ├── TransactionType.cs
│ ├── TwoFactorMethod.cs
│ ├── UIConfiguration.cs
│ ├── UniqueUsernameConfiguration.cs
│ ├── UniqueUsernameStrategy.cs
│ ├── UnverifiedBehavior.cs
│ ├── UsageDataConfiguration.cs
│ ├── User.cs
│ ├── UserAction.cs
│ ├── UserActionLog.cs
│ ├── UserActionOption.cs
│ ├── UserActionReason.cs
│ ├── UserComment.cs
│ ├── UserConsent.cs
│ ├── UserLoginFailedReason.cs
│ ├── UserLoginFailedReasonCode.cs
│ ├── UserRegistration.cs
│ ├── UserTwoFactorConfiguration.cs
│ ├── UsernameModeration.cs
│ ├── VerificationStrategy.cs
│ ├── WebAuthnCredential.cs
│ ├── Webhook.cs
│ ├── WebhookAttemptLog.cs
│ ├── WebhookAttemptResult.cs
│ ├── WebhookCallResponse.cs
│ ├── WebhookEventLog.cs
│ ├── WebhookEventLogConfiguration.cs
│ ├── WebhookEventResult.cs
│ ├── WebhookSignatureConfiguration.cs
│ ├── XMLSignatureLocation.cs
│ ├── api
│ │ ├── APIKeyRequest.cs
│ │ ├── APIKeyResponse.cs
│ │ ├── ApplicationOAuthScopeRequest.cs
│ │ ├── ApplicationOAuthScopeResponse.cs
│ │ ├── ApplicationRequest.cs
│ │ ├── ApplicationResponse.cs
│ │ ├── ApplicationSearchRequest.cs
│ │ ├── ApplicationSearchResponse.cs
│ │ ├── AuditLogExportRequest.cs
│ │ ├── AuditLogRequest.cs
│ │ ├── AuditLogResponse.cs
│ │ ├── AuditLogSearchRequest.cs
│ │ ├── AuditLogSearchResponse.cs
│ │ ├── BaseEventRequest.cs
│ │ ├── BaseExportRequest.cs
│ │ ├── BaseLoginRequest.cs
│ │ ├── ConnectorRequest.cs
│ │ ├── ConnectorResponse.cs
│ │ ├── ConsentRequest.cs
│ │ ├── ConsentResponse.cs
│ │ ├── ConsentSearchRequest.cs
│ │ ├── ConsentSearchResponse.cs
│ │ ├── EmailTemplateRequest.cs
│ │ ├── EmailTemplateResponse.cs
│ │ ├── EmailTemplateSearchRequest.cs
│ │ ├── EmailTemplateSearchResponse.cs
│ │ ├── EntityGrantRequest.cs
│ │ ├── EntityGrantResponse.cs
│ │ ├── EntityGrantSearchRequest.cs
│ │ ├── EntityGrantSearchResponse.cs
│ │ ├── EntityRequest.cs
│ │ ├── EntityResponse.cs
│ │ ├── EntitySearchRequest.cs
│ │ ├── EntitySearchResponse.cs
│ │ ├── EntityTypeRequest.cs
│ │ ├── EntityTypeResponse.cs
│ │ ├── EntityTypeSearchRequest.cs
│ │ ├── EntityTypeSearchResponse.cs
│ │ ├── EventLogResponse.cs
│ │ ├── EventLogSearchRequest.cs
│ │ ├── EventLogSearchResponse.cs
│ │ ├── ExpandableRequest.cs
│ │ ├── ExpandableResponse.cs
│ │ ├── FamilyEmailRequest.cs
│ │ ├── FamilyRequest.cs
│ │ ├── FamilyResponse.cs
│ │ ├── FormFieldRequest.cs
│ │ ├── FormFieldResponse.cs
│ │ ├── FormRequest.cs
│ │ ├── FormResponse.cs
│ │ ├── GroupMemberSearchRequest.cs
│ │ ├── GroupMemberSearchResponse.cs
│ │ ├── GroupRequest.cs
│ │ ├── GroupResponse.cs
│ │ ├── GroupSearchRequest.cs
│ │ ├── GroupSearchResponse.cs
│ │ ├── IPAccessControlListRequest.cs
│ │ ├── IPAccessControlListResponse.cs
│ │ ├── IPAccessControlListSearchRequest.cs
│ │ ├── IPAccessControlListSearchResponse.cs
│ │ ├── IdentityProviderRequest.cs
│ │ ├── IdentityProviderResponse.cs
│ │ ├── IdentityProviderSearchRequest.cs
│ │ ├── IdentityProviderSearchResponse.cs
│ │ ├── IntegrationRequest.cs
│ │ ├── IntegrationResponse.cs
│ │ ├── KeyRequest.cs
│ │ ├── KeyResponse.cs
│ │ ├── KeySearchRequest.cs
│ │ ├── KeySearchResponse.cs
│ │ ├── LambdaRequest.cs
│ │ ├── LambdaResponse.cs
│ │ ├── LambdaSearchRequest.cs
│ │ ├── LambdaSearchResponse.cs
│ │ ├── LoginPingRequest.cs
│ │ ├── LoginPreventedResponse.cs
│ │ ├── LoginRecordExportRequest.cs
│ │ ├── LoginRecordSearchRequest.cs
│ │ ├── LoginRecordSearchResponse.cs
│ │ ├── LoginRequest.cs
│ │ ├── LoginResponse.cs
│ │ ├── LogoutRequest.cs
│ │ ├── MemberDeleteRequest.cs
│ │ ├── MemberRequest.cs
│ │ ├── MemberResponse.cs
│ │ ├── MessageTemplateRequest.cs
│ │ ├── MessageTemplateResponse.cs
│ │ ├── MessengerRequest.cs
│ │ ├── MessengerResponse.cs
│ │ ├── OAuthConfigurationResponse.cs
│ │ ├── PasswordValidationRulesResponse.cs
│ │ ├── PendingResponse.cs
│ │ ├── PreviewMessageTemplateRequest.cs
│ │ ├── PreviewMessageTemplateResponse.cs
│ │ ├── PreviewRequest.cs
│ │ ├── PreviewResponse.cs
│ │ ├── PublicKeyResponse.cs
│ │ ├── ReactorMetricsResponse.cs
│ │ ├── ReactorRequest.cs
│ │ ├── ReactorResponse.cs
│ │ ├── ReindexRequest.cs
│ │ ├── StatusResponse.cs
│ │ ├── SystemConfigurationRequest.cs
│ │ ├── SystemConfigurationResponse.cs
│ │ ├── SystemLogsExportRequest.cs
│ │ ├── TenantDeleteRequest.cs
│ │ ├── TenantRequest.cs
│ │ ├── TenantResponse.cs
│ │ ├── TenantSearchRequest.cs
│ │ ├── TenantSearchResponse.cs
│ │ ├── ThemeRequest.cs
│ │ ├── ThemeResponse.cs
│ │ ├── ThemeSearchRequest.cs
│ │ ├── ThemeSearchResponse.cs
│ │ ├── TwoFactorDisableRequest.cs
│ │ ├── TwoFactorEnableDisableSendRequest.cs
│ │ ├── TwoFactorRecoveryCodeResponse.cs
│ │ ├── TwoFactorRequest.cs
│ │ ├── TwoFactorResponse.cs
│ │ ├── UserActionReasonRequest.cs
│ │ ├── UserActionReasonResponse.cs
│ │ ├── UserActionRequest.cs
│ │ ├── UserActionResponse.cs
│ │ ├── UserCommentRequest.cs
│ │ ├── UserCommentResponse.cs
│ │ ├── UserCommentSearchRequest.cs
│ │ ├── UserCommentSearchResponse.cs
│ │ ├── UserConsentRequest.cs
│ │ ├── UserConsentResponse.cs
│ │ ├── UserDeleteRequest.cs
│ │ ├── UserDeleteResponse.cs
│ │ ├── UserDeleteSingleRequest.cs
│ │ ├── UserRequest.cs
│ │ ├── UserResponse.cs
│ │ ├── VersionResponse.cs
│ │ ├── WebAuthnAssertResponse.cs
│ │ ├── WebAuthnAuthenticatorAuthenticationResponse.cs
│ │ ├── WebAuthnAuthenticatorRegistrationResponse.cs
│ │ ├── WebAuthnCredentialImportRequest.cs
│ │ ├── WebAuthnCredentialResponse.cs
│ │ ├── WebAuthnLoginRequest.cs
│ │ ├── WebAuthnPublicKeyAuthenticationRequest.cs
│ │ ├── WebAuthnPublicKeyRegistrationRequest.cs
│ │ ├── WebAuthnRegisterCompleteRequest.cs
│ │ ├── WebAuthnRegisterCompleteResponse.cs
│ │ ├── WebAuthnRegisterStartRequest.cs
│ │ ├── WebAuthnRegisterStartResponse.cs
│ │ ├── WebAuthnStartRequest.cs
│ │ ├── WebAuthnStartResponse.cs
│ │ ├── WebhookAttemptLogResponse.cs
│ │ ├── WebhookEventLogResponse.cs
│ │ ├── WebhookEventLogSearchRequest.cs
│ │ ├── WebhookEventLogSearchResponse.cs
│ │ ├── WebhookRequest.cs
│ │ ├── WebhookResponse.cs
│ │ ├── WebhookSearchRequest.cs
│ │ ├── WebhookSearchResponse.cs
│ │ ├── cache
│ │ │ └── ReloadRequest.cs
│ │ ├── email
│ │ │ ├── EmailTemplateErrors.cs
│ │ │ ├── SendRequest.cs
│ │ │ └── SendResponse.cs
│ │ ├── identityProvider
│ │ │ ├── IdentityProviderDetails.cs
│ │ │ ├── IdentityProviderLinkRequest.cs
│ │ │ ├── IdentityProviderLinkResponse.cs
│ │ │ ├── IdentityProviderLoginRequest.cs
│ │ │ ├── IdentityProviderPendingLinkResponse.cs
│ │ │ ├── IdentityProviderStartLoginRequest.cs
│ │ │ ├── IdentityProviderStartLoginResponse.cs
│ │ │ └── LookupResponse.cs
│ │ ├── jwt
│ │ │ ├── IssueResponse.cs
│ │ │ ├── JWTRefreshResponse.cs
│ │ │ ├── JWTVendRequest.cs
│ │ │ ├── JWTVendResponse.cs
│ │ │ ├── RefreshRequest.cs
│ │ │ ├── RefreshResponse.cs
│ │ │ ├── RefreshTokenResponse.cs
│ │ │ ├── RefreshTokenRevokeRequest.cs
│ │ │ └── ValidateResponse.cs
│ │ ├── passwordless
│ │ │ ├── PasswordlessLoginRequest.cs
│ │ │ ├── PasswordlessSendRequest.cs
│ │ │ ├── PasswordlessStartRequest.cs
│ │ │ └── PasswordlessStartResponse.cs
│ │ ├── report
│ │ │ ├── Count.cs
│ │ │ ├── DailyActiveUserReportResponse.cs
│ │ │ ├── LoginReportResponse.cs
│ │ │ ├── MonthlyActiveUserReportResponse.cs
│ │ │ ├── RegistrationReportResponse.cs
│ │ │ ├── Totals.cs
│ │ │ └── TotalsReportResponse.cs
│ │ ├── twoFactor
│ │ │ ├── SecretResponse.cs
│ │ │ ├── TwoFactorLoginRequest.cs
│ │ │ ├── TwoFactorSendRequest.cs
│ │ │ ├── TwoFactorStartRequest.cs
│ │ │ ├── TwoFactorStartResponse.cs
│ │ │ ├── TwoFactorStatusResponse.cs
│ │ │ └── TwoFactorTrust.cs
│ │ └── user
│ │ │ ├── ActionData.cs
│ │ │ ├── ActionRequest.cs
│ │ │ ├── ActionResponse.cs
│ │ │ ├── ChangePasswordRequest.cs
│ │ │ ├── ChangePasswordResponse.cs
│ │ │ ├── ForgotPasswordRequest.cs
│ │ │ ├── ForgotPasswordResponse.cs
│ │ │ ├── ImportRequest.cs
│ │ │ ├── RecentLoginResponse.cs
│ │ │ ├── RefreshTokenImportRequest.cs
│ │ │ ├── RegistrationDeleteRequest.cs
│ │ │ ├── RegistrationRequest.cs
│ │ │ ├── RegistrationResponse.cs
│ │ │ ├── SearchRequest.cs
│ │ │ ├── SearchResponse.cs
│ │ │ ├── VerifyEmailRequest.cs
│ │ │ ├── VerifyEmailResponse.cs
│ │ │ ├── VerifyRegistrationRequest.cs
│ │ │ └── VerifyRegistrationResponse.cs
│ ├── connector
│ │ ├── BaseConnectorConfiguration.cs
│ │ ├── ConnectorPolicy.cs
│ │ ├── ConnectorType.cs
│ │ ├── FusionAuthConnectorConfiguration.cs
│ │ ├── GenericConnectorConfiguration.cs
│ │ ├── LDAPConnectorConfiguration.cs
│ │ ├── LDAPSecurityMethod.cs
│ │ └── LambdaConfiguration.cs
│ ├── email
│ │ ├── Attachment.cs
│ │ ├── Email.cs
│ │ ├── EmailAddress.cs
│ │ └── EmailTemplate.cs
│ ├── event
│ │ ├── ApplicationEvent.cs
│ │ ├── AuditLogCreateEvent.cs
│ │ ├── BaseEvent.cs
│ │ ├── BaseGroupEvent.cs
│ │ ├── BaseUserEvent.cs
│ │ ├── EventLogCreateEvent.cs
│ │ ├── EventRequest.cs
│ │ ├── EventType.cs
│ │ ├── GroupCreateCompleteEvent.cs
│ │ ├── GroupCreateEvent.cs
│ │ ├── GroupDeleteCompleteEvent.cs
│ │ ├── GroupDeleteEvent.cs
│ │ ├── GroupMemberAddCompleteEvent.cs
│ │ ├── GroupMemberAddEvent.cs
│ │ ├── GroupMemberRemoveCompleteEvent.cs
│ │ ├── GroupMemberRemoveEvent.cs
│ │ ├── GroupMemberUpdateCompleteEvent.cs
│ │ ├── GroupMemberUpdateEvent.cs
│ │ ├── GroupUpdateCompleteEvent.cs
│ │ ├── GroupUpdateEvent.cs
│ │ ├── InstanceEvent.cs
│ │ ├── JWTPublicKeyUpdateEvent.cs
│ │ ├── JWTRefreshEvent.cs
│ │ ├── JWTRefreshTokenRevokeEvent.cs
│ │ ├── KickstartSuccessEvent.cs
│ │ ├── NonTransactionalEvent.cs
│ │ ├── ObjectIdentifiable.cs
│ │ ├── TestEvent.cs
│ │ ├── UserActionEvent.cs
│ │ ├── UserActionPhase.cs
│ │ ├── UserBulkCreateEvent.cs
│ │ ├── UserCreateCompleteEvent.cs
│ │ ├── UserCreateEvent.cs
│ │ ├── UserDeactivateEvent.cs
│ │ ├── UserDeleteCompleteEvent.cs
│ │ ├── UserDeleteEvent.cs
│ │ ├── UserEmailUpdateEvent.cs
│ │ ├── UserEmailVerifiedEvent.cs
│ │ ├── UserIdentityProviderLinkEvent.cs
│ │ ├── UserIdentityProviderUnlinkEvent.cs
│ │ ├── UserLoginFailedEvent.cs
│ │ ├── UserLoginIdDuplicateOnCreateEvent.cs
│ │ ├── UserLoginIdDuplicateOnUpdateEvent.cs
│ │ ├── UserLoginNewDeviceEvent.cs
│ │ ├── UserLoginSuccessEvent.cs
│ │ ├── UserLoginSuspiciousEvent.cs
│ │ ├── UserPasswordBreachEvent.cs
│ │ ├── UserPasswordResetSendEvent.cs
│ │ ├── UserPasswordResetStartEvent.cs
│ │ ├── UserPasswordResetSuccessEvent.cs
│ │ ├── UserPasswordUpdateEvent.cs
│ │ ├── UserReactivateEvent.cs
│ │ ├── UserRegistrationCreateCompleteEvent.cs
│ │ ├── UserRegistrationCreateEvent.cs
│ │ ├── UserRegistrationDeleteCompleteEvent.cs
│ │ ├── UserRegistrationDeleteEvent.cs
│ │ ├── UserRegistrationUpdateCompleteEvent.cs
│ │ ├── UserRegistrationUpdateEvent.cs
│ │ ├── UserRegistrationVerifiedEvent.cs
│ │ ├── UserTwoFactorMethodAddEvent.cs
│ │ ├── UserTwoFactorMethodRemoveEvent.cs
│ │ ├── UserUpdateCompleteEvent.cs
│ │ └── UserUpdateEvent.cs
│ ├── form
│ │ ├── Form.cs
│ │ ├── FormControl.cs
│ │ ├── FormDataType.cs
│ │ ├── FormField.cs
│ │ ├── FormFieldAdminPolicy.cs
│ │ ├── FormFieldValidator.cs
│ │ ├── FormStep.cs
│ │ ├── FormType.cs
│ │ └── ManagedFields.cs
│ ├── jwks
│ │ └── JSONWebKeyInfoProvider.cs
│ ├── jwt
│ │ ├── DeviceInfo.cs
│ │ ├── DeviceType.cs
│ │ ├── MetaData.cs
│ │ └── RefreshToken.cs
│ ├── message
│ │ ├── Message.cs
│ │ ├── MessageTemplate.cs
│ │ ├── MessageType.cs
│ │ └── sms
│ │ │ ├── SMSMessage.cs
│ │ │ └── SMSMessageTemplate.cs
│ ├── messenger
│ │ ├── BaseMessengerConfiguration.cs
│ │ ├── GenericMessengerConfiguration.cs
│ │ ├── KafkaMessengerConfiguration.cs
│ │ ├── MessengerTransport.cs
│ │ ├── MessengerType.cs
│ │ └── TwilioMessengerConfiguration.cs
│ ├── oauth2
│ │ ├── AccessToken.cs
│ │ ├── ClientAuthenticationPolicy.cs
│ │ ├── DeviceApprovalResponse.cs
│ │ ├── DeviceResponse.cs
│ │ ├── DeviceUserCodeResponse.cs
│ │ ├── GrantType.cs
│ │ ├── IntrospectResponse.cs
│ │ ├── JWKSResponse.cs
│ │ ├── LogoutBehavior.cs
│ │ ├── OAuth2Configuration.cs
│ │ ├── OAuthApplicationRelationship.cs
│ │ ├── OAuthError.cs
│ │ ├── OAuthErrorReason.cs
│ │ ├── OAuthErrorType.cs
│ │ ├── OAuthResponse.cs
│ │ ├── OAuthScopeConsentMode.cs
│ │ ├── OAuthScopeHandlingPolicy.cs
│ │ ├── Oauth2AuthorizedURLValidationPolicy.cs
│ │ ├── ProofKeyForCodeExchangePolicy.cs
│ │ ├── ProvidedScopePolicy.cs
│ │ ├── TokenType.cs
│ │ ├── UnknownScopePolicy.cs
│ │ ├── UserState.cs
│ │ └── UserinfoResponse.cs
│ ├── provider
│ │ ├── AppleApplicationConfiguration.cs
│ │ ├── AppleIdentityProvider.cs
│ │ ├── BaseIdentityProvider.cs
│ │ ├── BaseIdentityProviderApplicationConfiguration.cs
│ │ ├── BaseSAMLv2IdentityProvider.cs
│ │ ├── ClientAuthenticationMethod.cs
│ │ ├── DomainBasedIdentityProvider.cs
│ │ ├── EpicGamesApplicationConfiguration.cs
│ │ ├── EpicGamesIdentityProvider.cs
│ │ ├── ExternalJWTApplicationConfiguration.cs
│ │ ├── ExternalJWTIdentityProvider.cs
│ │ ├── FacebookApplicationConfiguration.cs
│ │ ├── FacebookIdentityProvider.cs
│ │ ├── GoogleApplicationConfiguration.cs
│ │ ├── GoogleIdentityProvider.cs
│ │ ├── GoogleIdentityProviderProperties.cs
│ │ ├── HYPRApplicationConfiguration.cs
│ │ ├── HYPRIdentityProvider.cs
│ │ ├── IdentityProviderLimitUserLinkingPolicy.cs
│ │ ├── IdentityProviderLinkingStrategy.cs
│ │ ├── IdentityProviderLoginMethod.cs
│ │ ├── IdentityProviderOauth2Configuration.cs
│ │ ├── IdentityProviderTenantConfiguration.cs
│ │ ├── IdentityProviderType.cs
│ │ ├── LambdaConfiguration.cs
│ │ ├── LinkedInApplicationConfiguration.cs
│ │ ├── LinkedInIdentityProvider.cs
│ │ ├── LoginHintConfiguration.cs
│ │ ├── NintendoApplicationConfiguration.cs
│ │ ├── NintendoIdentityProvider.cs
│ │ ├── OpenIdConnectApplicationConfiguration.cs
│ │ ├── OpenIdConnectIdentityProvider.cs
│ │ ├── PasswordlessIdentityProvider.cs
│ │ ├── PendingIdPLink.cs
│ │ ├── SAMLv2ApplicationConfiguration.cs
│ │ ├── SAMLv2AssertionConfiguration.cs
│ │ ├── SAMLv2AssertionDecryptionConfiguration.cs
│ │ ├── SAMLv2DestinationAssertionConfiguration.cs
│ │ ├── SAMLv2IdPInitiatedApplicationConfiguration.cs
│ │ ├── SAMLv2IdPInitiatedIdentityProvider.cs
│ │ ├── SAMLv2IdentityProvider.cs
│ │ ├── SAMLv2IdpInitiatedConfiguration.cs
│ │ ├── SonyPSNApplicationConfiguration.cs
│ │ ├── SonyPSNIdentityProvider.cs
│ │ ├── SteamAPIMode.cs
│ │ ├── SteamApplicationConfiguration.cs
│ │ ├── SteamIdentityProvider.cs
│ │ ├── SupportsPostBindings.cs
│ │ ├── TwitchApplicationConfiguration.cs
│ │ ├── TwitchIdentityProvider.cs
│ │ ├── TwitterApplicationConfiguration.cs
│ │ ├── TwitterIdentityProvider.cs
│ │ ├── XboxApplicationConfiguration.cs
│ │ └── XboxIdentityProvider.cs
│ ├── reactor
│ │ ├── BreachedPasswordTenantMetric.cs
│ │ ├── ReactorFeatureStatus.cs
│ │ ├── ReactorMetrics.cs
│ │ └── ReactorStatus.cs
│ ├── search
│ │ ├── ApplicationSearchCriteria.cs
│ │ ├── AuditLogSearchCriteria.cs
│ │ ├── BaseElasticSearchCriteria.cs
│ │ ├── BaseSearchCriteria.cs
│ │ ├── ConsentSearchCriteria.cs
│ │ ├── EmailTemplateSearchCriteria.cs
│ │ ├── EntityGrantSearchCriteria.cs
│ │ ├── EntitySearchCriteria.cs
│ │ ├── EntityTypeSearchCriteria.cs
│ │ ├── EventLogSearchCriteria.cs
│ │ ├── GroupMemberSearchCriteria.cs
│ │ ├── GroupSearchCriteria.cs
│ │ ├── IPAccessControlListSearchCriteria.cs
│ │ ├── IdentityProviderSearchCriteria.cs
│ │ ├── KeySearchCriteria.cs
│ │ ├── LambdaSearchCriteria.cs
│ │ ├── LoginRecordSearchCriteria.cs
│ │ ├── SearchResults.cs
│ │ ├── Sort.cs
│ │ ├── SortField.cs
│ │ ├── TenantSearchCriteria.cs
│ │ ├── ThemeSearchCriteria.cs
│ │ ├── UserCommentSearchCriteria.cs
│ │ ├── UserSearchCriteria.cs
│ │ ├── WebhookEventLogSearchCriteria.cs
│ │ └── WebhookSearchCriteria.cs
│ ├── util
│ │ └── HTTPMethod.cs
│ └── webauthn
│ │ ├── AttestationConveyancePreference.cs
│ │ ├── AttestationType.cs
│ │ ├── AuthenticatorAttachment.cs
│ │ ├── AuthenticatorAttachmentPreference.cs
│ │ ├── AuthenticatorSelectionCriteria.cs
│ │ ├── CoseAlgorithmIdentifier.cs
│ │ ├── CoseEllipticCurve.cs
│ │ ├── CoseKeyType.cs
│ │ ├── CredentialPropertiesOutput.cs
│ │ ├── PublicKeyCredentialCreationOptions.cs
│ │ ├── PublicKeyCredentialDescriptor.cs
│ │ ├── PublicKeyCredentialEntity.cs
│ │ ├── PublicKeyCredentialParameters.cs
│ │ ├── PublicKeyCredentialRelyingPartyEntity.cs
│ │ ├── PublicKeyCredentialRequestOptions.cs
│ │ ├── PublicKeyCredentialType.cs
│ │ ├── PublicKeyCredentialUserEntity.cs
│ │ ├── ResidentKeyRequirement.cs
│ │ ├── UserVerificationRequirement.cs
│ │ ├── WebAuthnExtensionsClientOutputs.cs
│ │ ├── WebAuthnRegistrationExtensionOptions.cs
│ │ └── WebAuthnWorkflow.cs
│ ├── jwks
│ └── domain
│ │ └── JSONWebKey.cs
│ └── jwt
│ └── domain
│ ├── Algorithm.cs
│ └── JWT.cs
├── fusionauth-netcore-client.csproj
├── fusionauth-netcore-client.sln
├── fusionauth-netcore-client.sln.DotSettings.user
├── global.json
└── src
└── io
└── fusionauth
├── ClientResponse.cs
├── DefaultRESTClient.cs
├── FusionAuthClient.cs
├── FusionAuthSyncClient.cs
├── IFusionAuthClient.cs
├── IRESTClient.cs
├── IRESTClientBuilder.cs
├── RESTVoid.cs
└── converters
├── DateTimeOffsetConverter.cs
├── DateTimeOffsetSecondsConverter.cs
├── IdentityProviderConverter.cs
└── helpers
└── IdentityProvider.cs
/.github/CODEOWNERS:
--------------------------------------------------------------------------------
1 | # This is a managed file. Manual changes will be overwritten.
2 | # https://github.com/FusionAuth/fusionauth-public-repos/
3 |
4 | .github/ @fusionauth/owners @fusionauth/platform
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | obj
3 | bin
4 |
5 | ### JetBrains template
6 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
7 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
8 |
9 | # User-specific stuff
10 | */.idea/**/workspace.xml
11 | */.idea/**/tasks.xml
12 | */.idea/**/usage.statistics.xml
13 | */.idea/**/dictionaries
14 | */.idea/**/shelf
15 |
16 | # Generated files
17 | .idea/**/contentModel.xml
18 |
19 | # Sensitive or high-churn files
20 | */.idea/**/dataSources/
21 | */.idea/**/dataSources.ids
22 | */.idea/**/dataSources.local.xml
23 | */.idea/**/sqlDataSources.xml
24 | */.idea/**/dynamic.xml
25 | */.idea/**/uiDesigner.xml
26 | */.idea/**/dbnavigator.xml
27 |
28 | */fusionauth-netcore-client.sln.DotSettings.user
29 |
30 |
31 | # File-based project format
32 | *.iws
33 |
34 | # IntelliJ
35 | out/
36 |
37 | # Editor-based Rest Client
38 | .idea/httpRequests
39 |
40 | .vs/
41 | **/.DS_Store
42 | */.idea/**/projectSettingsUpdater.xml
43 | .savant/cache
44 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client-test/fusionauth-netcore-client-test/fusionauth-netcore-client-test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 1.58.0
6 | FusionAuth.Client.Test
7 | netcoreapp3.1
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client-test/fusionauth-netcore-client-test/fusionauth-netcore-client-test.csproj.DotSettings:
--------------------------------------------------------------------------------
1 |
2 | True
--------------------------------------------------------------------------------
/fusionauth-netcore-client-test/fusionauth-netcore-client-test/test/io/fusionauth/ConsentTest.json:
--------------------------------------------------------------------------------
1 | {
2 | "consentEmailTemplateId": "61cba163-2d53-4d2d-ad7f-801c27f0c277",
3 | "countryMinimumAgeForSelfConsent": {
4 | "de": 21
5 | },
6 | "defaultMinimumAgeForSelfConsent": 18,
7 | "emailPlus": {
8 | "enabled": true,
9 | "emailTemplateId": "9cd65fca-5aa0-4861-899b-8712d8ec963f",
10 | "maximumTimeToSendEmailInHours": 48,
11 | "minimumTimeToSendEmailInHours": 24
12 | },
13 | "id": "d512b9b8-876f-4b5e-81f0-3e180b6ea485",
14 | "insertInstant": 1595361142909,
15 | "lastUpdateInstant": 1595361143101,
16 | "multipleValuesAllowed": false,
17 | "name": "Patient Consent",
18 | "values": [
19 | "Written",
20 | "Verbal"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client-test/fusionauth-netcore-client-test/test/io/fusionauth/Example.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using io.fusionauth.domain;
3 |
4 | namespace io.fusionauth {
5 | public class Example {
6 | private const string apiKey = "6b87a398-39f2-4692-927b-13188a81a9a3";
7 |
8 | private const string fusionAuthURL = "http://localhost:9011";
9 |
10 | private readonly FusionAuthSyncClient client;
11 |
12 | public Example(string apiKey, string fusionAuthURL) {
13 | client = new FusionAuthSyncClient(apiKey, fusionAuthURL);
14 | }
15 |
16 | public User GetUserByEmail(string email) {
17 | var response = client.RetrieveUserByEmail("user@example.com");
18 | if (response.WasSuccessful()) {
19 | var user = response.successResponse.user;
20 | return user;
21 | }
22 |
23 | if (response.errorResponse != null) {
24 | // Error Handling
25 | var errors = response.errorResponse;
26 | return null;
27 | }
28 |
29 | if (response.exception != null) {
30 | // Exception Handling
31 | var exception = response.exception;
32 | return null;
33 | }
34 |
35 | return null;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client-test/fusionauth-netcore-client-test/test/io/fusionauth/JWTDateTimeTest.json:
--------------------------------------------------------------------------------
1 | {
2 | "testString": "string",
3 | "exp": 1595361142,
4 | "iat": 1595361141,
5 | "nbf": 1595361141
6 | }
7 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client-test/fusionauth-netcore-client-test/test/io/fusionauth/JWTOtherFieldsTest.json:
--------------------------------------------------------------------------------
1 | {
2 | "applicationId": "00000000-0000-0000-0000-000000000000",
3 | "authenticationType": "PASSWORD",
4 | "email": "example@fusionauth.io",
5 | "exp": 1504112919754,
6 | "iat": 1504103919754,
7 | "iss": "acme.com",
8 | "roles": [
9 | "role 1",
10 | "role 2"
11 | ],
12 | "sub": "00000000-0000-0001-0000-000000000000",
13 | "0": [
14 | "role 1"
15 | ],
16 | "1": "Test",
17 | "2": 2,
18 | "3": [
19 | "a",
20 | "list",
21 | "of",
22 | "roles"
23 | ]
24 | }
--------------------------------------------------------------------------------
/fusionauth-netcore-client.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/.idea/.idea.fusionauth-netcore-client/.idea/indexLayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/.idea/.idea.fusionauth-netcore-client/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/com/inversoft/error/Error.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace com.inversoft.error
22 | {
23 |
24 | /**
25 | * Defines an error.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class Error {
30 |
31 | public string code;
32 |
33 | public IDictionary data;
34 |
35 | public string message;
36 |
37 | public Error with(Action action) {
38 | action(this);
39 | return this;
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/APIKeyMetaData.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class APIKeyMetaData {
25 |
26 | public IDictionary attributes;
27 |
28 | public APIKeyMetaData with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/APIKeyPermissions.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class APIKeyPermissions {
25 |
26 | public IDictionary> endpoints;
27 |
28 | public APIKeyPermissions with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ApplicationMultiFactorTrustPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum ApplicationMultiFactorTrustPolicy {
28 | Any,
29 | This,
30 | None
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ApplicationWebAuthnWorkflowConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class ApplicationWebAuthnWorkflowConfiguration: Enableable {
28 |
29 | public ApplicationWebAuthnWorkflowConfiguration with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/AuditLogConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class AuditLogConfiguration {
25 |
26 | public DeleteConfiguration delete;
27 |
28 | public AuditLogConfiguration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/AuthenticationThreats.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Brett Pontarelli
26 | */
27 | public enum AuthenticationThreats {
28 | ImpossibleTravel
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/AuthenticationTokenConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class AuthenticationTokenConfiguration: Enableable {
25 |
26 | public AuthenticationTokenConfiguration with(Action action) {
27 | action(this);
28 | return this;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/BreachAction.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum BreachAction {
25 | Off,
26 | RecordOnly,
27 | NotifyUser,
28 | RequireChange
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/BreachMatchMode.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum BreachMatchMode {
25 | Low,
26 | Medium,
27 | High
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/BreachedPasswordStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum BreachedPasswordStatus {
28 | None,
29 | ExactMatch,
30 | SubAddressMatch,
31 | PasswordOnly,
32 | CommonPassword
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/CanonicalizationMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * XML canonicalization method enumeration. This is used for the IdP and SP side of FusionAuth SAML.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public enum CanonicalizationMethod {
30 | exclusive,
31 | exclusive_with_comments,
32 | inclusive,
33 | inclusive_with_comments
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/CaptchaMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Brett Pontarelli
26 | */
27 | public enum CaptchaMethod {
28 | GoogleRecaptchaV2,
29 | GoogleRecaptchaV3,
30 | HCaptcha,
31 | HCaptchaEnterprise
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ChangePasswordReason.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Trevor Smith
26 | */
27 | public enum ChangePasswordReason {
28 | Administrative,
29 | Breached,
30 | Expired,
31 | Validation
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ConsentStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Models a consent.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public enum ConsentStatus {
30 | Active,
31 | Revoked
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ContentStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Status for content like usernames, profile attributes, etc.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public enum ContentStatus {
30 | ACTIVE,
31 | PENDING,
32 | REJECTED
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/DeleteConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class DeleteConfiguration: Enableable {
25 |
26 | public int? numberOfDaysToRetain;
27 |
28 | public DeleteConfiguration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/EmailHeader.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class EmailHeader {
28 |
29 | public string name;
30 |
31 | public string value;
32 |
33 | public EmailHeader with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/EmailPlus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class EmailPlus: Enableable {
25 |
26 | public Guid? emailTemplateId;
27 |
28 | public int? maximumTimeToSendEmailInHours;
29 |
30 | public int? minimumTimeToSendEmailInHours;
31 |
32 | public EmailPlus with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/EmailSecurityType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum EmailSecurityType {
25 | NONE,
26 | SSL,
27 | TLS
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/Enableable.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Something that can be enabled and thus also disabled.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class Enableable {
30 |
31 | public bool? enabled;
32 |
33 | public Enableable with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/EventConfigurationData.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class EventConfigurationData: Enableable {
25 |
26 | public TransactionType transactionType;
27 |
28 | public EventConfigurationData with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/EventLogConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class EventLogConfiguration {
25 |
26 | public int? numberToRetain;
27 |
28 | public EventLogConfiguration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/EventLogType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Event Log Type
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public enum EventLogType {
30 | Information,
31 | Debug,
32 | Error
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ExpiryUnit.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Brian Pontarelli
26 | */
27 | public enum ExpiryUnit {
28 | MINUTES,
29 | HOURS,
30 | DAYS,
31 | WEEKS,
32 | MONTHS,
33 | YEARS
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/FamilyRole.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum FamilyRole {
25 | Child,
26 | Teen,
27 | Adult
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/HTTPHeaders.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Type for webhook headers.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class HTTPHeaders: Dictionary {
30 |
31 | public HTTPHeaders with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/HistoryItem.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class HistoryItem {
25 |
26 | public Guid? actionerUserId;
27 |
28 | public string comment;
29 |
30 | public DateTimeOffset? createInstant;
31 |
32 | public DateTimeOffset? expiry;
33 |
34 | public HistoryItem with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/IPAccessControlEntryAction.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Brett Guy
26 | */
27 | public enum IPAccessControlEntryAction {
28 | Allow,
29 | Block
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/KafkaConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class KafkaConfiguration: Enableable {
28 |
29 | public string defaultTopic;
30 |
31 | public IDictionary producer;
32 |
33 | public KafkaConfiguration with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/KeyAlgorithm.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum KeyAlgorithm {
25 | ES256,
26 | ES384,
27 | ES512,
28 | HS256,
29 | HS384,
30 | HS512,
31 | RS256,
32 | RS384,
33 | RS512
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/KeyType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum KeyType {
25 | EC,
26 | RSA,
27 | HMAC
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/KeyUse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * The use type of a key.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public enum KeyUse {
30 | SignOnly,
31 | SignAndVerify,
32 | VerifyOnly
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/LambdaEngineType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum LambdaEngineType {
28 | GraalJS,
29 | Nashorn
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/LocalizedIntegers.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Models a set of localized Integers that can be stored as JSON.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class LocalizedIntegers: Dictionary {
30 |
31 | public LocalizedIntegers with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/LocalizedStrings.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Models a set of localized Strings that can be stored as JSON.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class LocalizedStrings: Dictionary {
30 |
31 | public LocalizedStrings with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/LoginConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class LoginConfiguration {
25 |
26 | public bool? allowTokenRefresh;
27 |
28 | public bool? generateRefreshTokens;
29 |
30 | public bool? requireAuthentication;
31 |
32 | public LoginConfiguration with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/LoginIdType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum LoginIdType {
25 | email,
26 | username
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/LoginRecordConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class LoginRecordConfiguration {
25 |
26 | public DeleteConfiguration delete;
27 |
28 | public LoginRecordConfiguration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MaximumPasswordAge.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class MaximumPasswordAge: Enableable {
28 |
29 | public int? days;
30 |
31 | public MaximumPasswordAge with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MinimumPasswordAge.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class MinimumPasswordAge: Enableable {
28 |
29 | public int? seconds;
30 |
31 | public MinimumPasswordAge with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MultiFactorEmailMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class MultiFactorEmailMethod: Enableable {
25 |
26 | public Guid? templateId;
27 |
28 | public MultiFactorEmailMethod with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MultiFactorEmailTemplate.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class MultiFactorEmailTemplate {
25 |
26 | public Guid? templateId;
27 |
28 | public MultiFactorEmailTemplate with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MultiFactorLoginPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum MultiFactorLoginPolicy {
28 | Disabled,
29 | Enabled,
30 | Required
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MultiFactorSMSMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class MultiFactorSMSMethod: Enableable {
25 |
26 | public Guid? messengerId;
27 |
28 | public Guid? templateId;
29 |
30 | public MultiFactorSMSMethod with(Action action) {
31 | action(this);
32 | return this;
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/MultiFactorSMSTemplate.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class MultiFactorSMSTemplate {
25 |
26 | public Guid? templateId;
27 |
28 | public MultiFactorSMSTemplate with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ObjectState.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum ObjectState {
28 | Active,
29 | Inactive,
30 | PendingDelete
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/PasswordlessConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class PasswordlessConfiguration: Enableable {
25 |
26 | public PasswordlessConfiguration with(Action action) {
27 | action(this);
28 | return this;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RateLimitedRequestType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum RateLimitedRequestType {
28 | FailedLogin,
29 | ForgotPassword,
30 | SendEmailVerification,
31 | SendPasswordless,
32 | SendRegistrationVerification,
33 | SendTwoFactor
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RefreshTokenExpirationPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum RefreshTokenExpirationPolicy {
28 | Fixed,
29 | SlidingWindow,
30 | SlidingWindowWithMaximumLifetime
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RefreshTokenUsagePolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum RefreshTokenUsagePolicy {
28 | Reusable,
29 | OneTimeUse
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RegistrationType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum RegistrationType {
25 | basic,
26 | advanced
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RegistrationUnverifiedOptions.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class RegistrationUnverifiedOptions {
28 |
29 | public UnverifiedBehavior behavior;
30 |
31 | public RegistrationUnverifiedOptions with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RememberPreviousPasswords.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class RememberPreviousPasswords: Enableable {
28 |
29 | public int? count;
30 |
31 | public RememberPreviousPasswords with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/RequiresCORSConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * Interface describing the need for CORS configuration.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class RequiresCORSConfiguration {
30 |
31 | public RequiresCORSConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/SAMLLogoutBehavior.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum SAMLLogoutBehavior {
25 | AllParticipants,
26 | OnlyOriginator
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/SAMLv2DestinationAssertionPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Lyle Schemmerling
26 | */
27 | public enum SAMLv2DestinationAssertionPolicy {
28 | Enabled,
29 | Disabled,
30 | AllowAlternates
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/SAMLv2SingleLogout.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class SAMLv2SingleLogout: Enableable {
25 |
26 | public Guid? keyId;
27 |
28 | public string url;
29 |
30 | public CanonicalizationMethod xmlSignatureC14nMethod;
31 |
32 | public SAMLv2SingleLogout with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/SecureGeneratorType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum SecureGeneratorType {
28 | randomDigits,
29 | randomBytes,
30 | randomAlpha,
31 | randomAlphaNumeric
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/SelfServiceFormConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author andrewpai
26 | */
27 | public class SelfServiceFormConfiguration {
28 |
29 | public bool? requireCurrentPasswordOnPasswordChange;
30 |
31 | public SelfServiceFormConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/SystemTrustedProxyConfigurationPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum SystemTrustedProxyConfigurationPolicy {
28 | All,
29 | OnlyConfigured
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TOTPAlgorithm.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum TOTPAlgorithm {
25 | HmacSHA1,
26 | HmacSHA256,
27 | HmacSHA512
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantAccessControlConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Brett Guy
26 | */
27 | public class TenantAccessControlConfiguration {
28 |
29 | public Guid? uiIPAccessControlListId;
30 |
31 | public TenantAccessControlConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantFormConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TenantFormConfiguration {
28 |
29 | public Guid? adminUserFormId;
30 |
31 | public TenantFormConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantLoginConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TenantLoginConfiguration {
28 |
29 | public bool? requireAuthentication;
30 |
31 | public TenantLoginConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantOAuth2Configuration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class TenantOAuth2Configuration {
25 |
26 | public Guid? clientCredentialsAccessTokenPopulateLambdaId;
27 |
28 | public TenantOAuth2Configuration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantRegistrationConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TenantRegistrationConfiguration {
28 |
29 | public List blockedDomains;
30 |
31 | public TenantRegistrationConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TenantUsernameConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TenantUsernameConfiguration {
28 |
29 | public UniqueUsernameConfiguration unique;
30 |
31 | public TenantUsernameConfiguration with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/Tenantable.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Brian Pontarelli
26 | */
27 | public class Tenantable {
28 |
29 | public Tenantable with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/ThemeType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum ThemeType {
25 | advanced,
26 | simple
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/TransactionType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * The transaction types for Webhooks and other event systems within FusionAuth.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public enum TransactionType {
30 | None,
31 | Any,
32 | SimpleMajority,
33 | SuperMajority,
34 | AbsoluteMajority
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/UIConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class UIConfiguration {
25 |
26 | public string headerColor;
27 |
28 | public string logoURL;
29 |
30 | public string menuFontColor;
31 |
32 | public UIConfiguration with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/UniqueUsernameStrategy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum UniqueUsernameStrategy {
25 | Always,
26 | OnCollision
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/UnverifiedBehavior.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum UnverifiedBehavior {
28 | Allow,
29 | Gated
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/UserLoginFailedReasonCode.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * User login failed reason codes.
26 | */
27 | public class UserLoginFailedReasonCode {
28 |
29 | public UserLoginFailedReasonCode with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/UsernameModeration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public class UsernameModeration: Enableable {
25 |
26 | public Guid? applicationId;
27 |
28 | public UsernameModeration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/VerificationStrategy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum VerificationStrategy {
28 | ClickableLink,
29 | FormField
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/WebhookAttemptResult.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | /**
25 | * The possible states of an individual webhook attempt to a single endpoint.
26 | *
27 | * @author Spencer Witt
28 | */
29 | public enum WebhookAttemptResult {
30 | Success,
31 | Failure,
32 | Unknown
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/XMLSignatureLocation.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain
22 | {
23 |
24 | public enum XMLSignatureLocation {
25 | Assertion,
26 | Response
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/APIKeyResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Authentication key response object.
27 | *
28 | * @author Sanjay
29 | */
30 | public class APIKeyResponse {
31 |
32 | public APIKey apiKey;
33 |
34 | public APIKeyResponse with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/AuditLogRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Brian Pontarelli
27 | */
28 | public class AuditLogRequest: BaseEventRequest {
29 |
30 | public AuditLog auditLog;
31 |
32 | public AuditLogRequest with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/AuditLogResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Audit log response.
27 | *
28 | * @author Brian Pontarelli
29 | */
30 | public class AuditLogResponse {
31 |
32 | public AuditLog auditLog;
33 |
34 | public AuditLogResponse with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/AuditLogSearchRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.search;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Brian Pontarelli
27 | */
28 | public class AuditLogSearchRequest {
29 |
30 | public AuditLogSearchCriteria search;
31 |
32 | public AuditLogSearchRequest with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/BaseExportRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class BaseExportRequest {
28 |
29 | public string dateTimeSecondsFormat;
30 |
31 | public string zoneId;
32 |
33 | public BaseExportRequest with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/ConnectorRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.connector;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Trevor Smith
27 | */
28 | public class ConnectorRequest {
29 |
30 | public BaseConnectorConfiguration connector;
31 |
32 | public ConnectorRequest with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/EntityRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Entity API request object.
27 | *
28 | * @author Brian Pontarelli
29 | */
30 | public class EntityRequest {
31 |
32 | public Entity entity;
33 |
34 | public EntityRequest with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/EntityResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Entity API response object.
27 | *
28 | * @author Brian Pontarelli
29 | */
30 | public class EntityResponse {
31 |
32 | public Entity entity;
33 |
34 | public EntityResponse with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/EventLogResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Event log response.
27 | *
28 | * @author Daniel DeGroff
29 | */
30 | public class EventLogResponse {
31 |
32 | public EventLog @eventLog;
33 |
34 | public EventLogResponse with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/EventLogSearchRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.search;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Brian Pontarelli
27 | */
28 | public class EventLogSearchRequest {
29 |
30 | public EventLogSearchCriteria search;
31 |
32 | public EventLogSearchRequest with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/ExpandableRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * An expandable API request.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class ExpandableRequest {
30 |
31 | public List expand;
32 |
33 | public ExpandableRequest with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/ExpandableResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * An expandable API response.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class ExpandableResponse {
30 |
31 | public List expandable;
32 |
33 | public ExpandableResponse with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/FormRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.form;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Form response.
27 | *
28 | * @author Daniel DeGroff
29 | */
30 | public class FormRequest {
31 |
32 | public Form form;
33 |
34 | public FormRequest with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/KeyRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Key API request object.
27 | *
28 | * @author Daniel DeGroff
29 | */
30 | public class KeyRequest {
31 |
32 | public Key key;
33 |
34 | public KeyRequest with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/LambdaRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Lambda API request object.
27 | *
28 | * @author Brian Pontarelli
29 | */
30 | public class LambdaRequest {
31 |
32 | public Lambda lambda;
33 |
34 | public LambdaRequest with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/LoginPingRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * Login Ping API request object.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class LoginPingRequest: BaseLoginRequest {
30 |
31 | public Guid? userId;
32 |
33 | public LoginPingRequest with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/MessengerRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.messenger;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Brett Guy
27 | */
28 | public class MessengerRequest {
29 |
30 | public BaseMessengerConfiguration messenger;
31 |
32 | public MessengerRequest with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/PendingResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Brian Pontarelli
27 | */
28 | public class PendingResponse {
29 |
30 | public List users;
31 |
32 | public PendingResponse with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/ReactorMetricsResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.reactor;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Daniel DeGroff
27 | */
28 | public class ReactorMetricsResponse {
29 |
30 | public ReactorMetrics metrics;
31 |
32 | public ReactorMetricsResponse with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/ReactorResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain.reactor;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Daniel DeGroff
27 | */
28 | public class ReactorResponse {
29 |
30 | public ReactorStatus status;
31 |
32 | public ReactorResponse with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/ReindexRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * Reindex API request
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class ReindexRequest {
30 |
31 | public string index;
32 |
33 | public ReindexRequest with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/StatusResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * The public Status API response
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class StatusResponse: Dictionary {
30 |
31 | public StatusResponse with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/TenantResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Daniel DeGroff
27 | */
28 | public class TenantResponse {
29 |
30 | public Tenant tenant;
31 |
32 | public List tenants;
33 |
34 | public TenantResponse with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/TwoFactorRecoveryCodeResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TwoFactorRecoveryCodeResponse {
28 |
29 | public List recoveryCodes;
30 |
31 | public TwoFactorRecoveryCodeResponse with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/TwoFactorResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TwoFactorResponse {
28 |
29 | public string code;
30 |
31 | public List recoveryCodes;
32 |
33 | public TwoFactorResponse with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/UserCommentRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * @author Seth Musselman
27 | */
28 | public class UserCommentRequest {
29 |
30 | public UserComment userComment;
31 |
32 | public UserCommentRequest with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/VersionResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class VersionResponse {
28 |
29 | public string version;
30 |
31 | public VersionResponse with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/WebhookRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api
23 | {
24 |
25 | /**
26 | * Webhook API request object.
27 | *
28 | * @author Brian Pontarelli
29 | */
30 | public class WebhookRequest {
31 |
32 | public Webhook webhook;
33 |
34 | public WebhookRequest with(Action action) {
35 | action(this);
36 | return this;
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/cache/ReloadRequest.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.cache
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class ReloadRequest {
28 |
29 | public List names;
30 |
31 | public ReloadRequest with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/email/EmailTemplateErrors.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.email
22 | {
23 |
24 | public class EmailTemplateErrors {
25 |
26 | public IDictionary parseErrors;
27 |
28 | public IDictionary renderErrors;
29 |
30 | public EmailTemplateErrors with(Action action) {
31 | action(this);
32 | return this;
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/identityProvider/LookupResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.identityProvider
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class LookupResponse {
28 |
29 | public IdentityProviderDetails identityProvider;
30 |
31 | public LookupResponse with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/jwt/IssueResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.jwt
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class IssueResponse {
28 |
29 | public string refreshToken;
30 |
31 | public string token;
32 |
33 | public IssueResponse with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/jwt/JWTVendResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.jwt
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class JWTVendResponse {
28 |
29 | public string token;
30 |
31 | public JWTVendResponse with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/jwt/RefreshResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.jwt
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class RefreshResponse {
28 |
29 | public RefreshResponse with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/jwt/ValidateResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.jwt.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.api.jwt
23 | {
24 |
25 | /**
26 | * @author Daniel DeGroff
27 | */
28 | public class ValidateResponse {
29 |
30 | public JWT jwt;
31 |
32 | public ValidateResponse with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/passwordless/PasswordlessStartResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.passwordless
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class PasswordlessStartResponse {
28 |
29 | public string code;
30 |
31 | public PasswordlessStartResponse with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/report/Count.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.report
22 | {
23 |
24 | /**
25 | * @author Brian Pontarelli
26 | */
27 | public class Count {
28 |
29 | public int? count;
30 |
31 | public int? interval;
32 |
33 | public Count with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/report/Totals.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.report
22 | {
23 |
24 | public class Totals {
25 |
26 | public long? logins;
27 |
28 | public long? registrations;
29 |
30 | public long? totalRegistrations;
31 |
32 | public Totals with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/twoFactor/SecretResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.twoFactor
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class SecretResponse {
28 |
29 | public string secret;
30 |
31 | public string secretBase32Encoded;
32 |
33 | public SecretResponse with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/twoFactor/TwoFactorTrust.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.twoFactor
22 | {
23 |
24 | public class TwoFactorTrust {
25 |
26 | public Guid? applicationId;
27 |
28 | public DateTimeOffset? expiration;
29 |
30 | public DateTimeOffset? startInstant;
31 |
32 | public TwoFactorTrust with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/api/user/VerifyEmailResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.api.user
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class VerifyEmailResponse {
28 |
29 | public string oneTimeCode;
30 |
31 | public string verificationId;
32 |
33 | public VerifyEmailResponse with(Action action) {
34 | action(this);
35 | return this;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/connector/ConnectorType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.connector
22 | {
23 |
24 | /**
25 | * The types of connectors. This enum is stored as an ordinal on the identities
table, order must be maintained.
26 | *
27 | * @author Trevor Smith
28 | */
29 | public enum ConnectorType {
30 | FusionAuth,
31 | Generic,
32 | LDAP
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/connector/LDAPSecurityMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.connector
22 | {
23 |
24 | public enum LDAPSecurityMethod {
25 | None,
26 | LDAPS,
27 | StartTLS
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/connector/LambdaConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.connector
22 | {
23 |
24 | public class LambdaConfiguration {
25 |
26 | public Guid? reconcileId;
27 |
28 | public LambdaConfiguration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/email/EmailAddress.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.email
22 | {
23 |
24 | /**
25 | * An email address.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class EmailAddress {
30 |
31 | public string address;
32 |
33 | public string display;
34 |
35 | public EmailAddress with(Action action) {
36 | action(this);
37 | return this;
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/ApplicationEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Events that are bound to applications.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class ApplicationEvent {
30 |
31 | public ApplicationEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/GroupCreateCompleteEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the Group Created Event.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class GroupCreateCompleteEvent: BaseGroupEvent {
30 |
31 | public GroupCreateCompleteEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/GroupCreateEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the Group Create Event.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class GroupCreateEvent: BaseGroupEvent {
30 |
31 | public GroupCreateEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/GroupDeleteCompleteEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the Group Create Complete Event.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class GroupDeleteCompleteEvent: BaseGroupEvent {
30 |
31 | public GroupDeleteCompleteEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/GroupDeleteEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the Group Delete Event.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class GroupDeleteEvent: BaseGroupEvent {
30 |
31 | public GroupDeleteEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/TestEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class TestEvent: BaseEvent {
28 |
29 | public string message;
30 |
31 | public TestEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserActionPhase.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * The phases of a time-based user action.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public enum UserActionPhase {
30 | start,
31 | modify,
32 | cancel,
33 | end
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserCreateEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the User Create Event.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class UserCreateEvent: BaseUserEvent {
30 |
31 | public UserCreateEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserDeactivateEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the User Deactivate Event.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class UserDeactivateEvent: BaseUserEvent {
30 |
31 | public UserDeactivateEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserEmailVerifiedEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the User Email Verify Event.
26 | *
27 | * @author Trevor Smith
28 | */
29 | public class UserEmailVerifiedEvent: BaseUserEvent {
30 |
31 | public UserEmailVerifiedEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserPasswordBreachEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the User Password Breach Event.
26 | *
27 | * @author Matthew Altman
28 | */
29 | public class UserPasswordBreachEvent: BaseUserEvent {
30 |
31 | public UserPasswordBreachEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserPasswordUpdateEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the User Password Update Event.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public class UserPasswordUpdateEvent: BaseUserEvent {
30 |
31 | public UserPasswordUpdateEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/event/UserReactivateEvent.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.@event
22 | {
23 |
24 | /**
25 | * Models the User Reactivate Event.
26 | *
27 | * @author Brian Pontarelli
28 | */
29 | public class UserReactivateEvent: BaseUserEvent {
30 |
31 | public UserReactivateEvent with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormControl.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.form
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum FormControl {
28 | checkbox,
29 | number,
30 | password,
31 | radio,
32 | select,
33 | textarea,
34 | text
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormFieldAdminPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.form
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum FormFieldAdminPolicy {
28 | Edit,
29 | View
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormFieldValidator.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.form
23 | {
24 |
25 | /**
26 | * @author Daniel DeGroff
27 | */
28 | public class FormFieldValidator: Enableable {
29 |
30 | public string expression;
31 |
32 | public FormFieldValidator with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormStep.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.form
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class FormStep {
28 |
29 | public List fields;
30 |
31 | public FormStep with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/form/FormType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.form
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum FormType {
28 | registration,
29 | adminRegistration,
30 | adminUser,
31 | selfServiceUser
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/jwks/JSONWebKeyInfoProvider.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.jwks
22 | {
23 |
24 | /**
25 | * Interface for any object that can provide JSON Web key Information.
26 | */
27 | public class JSONWebKeyInfoProvider {
28 |
29 | public JSONWebKeyInfoProvider with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/jwt/DeviceType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.jwt
22 | {
23 |
24 | public enum DeviceType {
25 | BROWSER,
26 | DESKTOP,
27 | LAPTOP,
28 | MOBILE,
29 | OTHER,
30 | SERVER,
31 | TABLET,
32 | TV,
33 | UNKNOWN
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/jwt/MetaData.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.jwt
22 | {
23 |
24 | public class MetaData {
25 |
26 | public IDictionary data;
27 |
28 | public DeviceInfo device;
29 |
30 | public List scopes;
31 |
32 | public MetaData with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/message/Message.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.message
22 | {
23 |
24 | /**
25 | * @author Mikey Sleevi
26 | */
27 | public class Message {
28 |
29 | public Message with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/message/MessageType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.message
22 | {
23 |
24 | /**
25 | * @author Mikey Sleevi
26 | */
27 | public enum MessageType {
28 | SMS
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/messenger/MessengerTransport.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.messenger
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class MessengerTransport {
28 |
29 | public MessengerTransport with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/messenger/MessengerType.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.messenger
22 | {
23 |
24 | /**
25 | * @author Brett Guy
26 | */
27 | public enum MessengerType {
28 | Generic,
29 | Kafka,
30 | Twilio
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/ClientAuthenticationPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Brett Guy
26 | */
27 | public enum ClientAuthenticationPolicy {
28 | Required,
29 | NotRequired,
30 | NotRequiredWhenUsingPKCE
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/IntrospectResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class IntrospectResponse: Dictionary {
28 |
29 | public IntrospectResponse with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/JWKSResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using io.fusionauth.jwks.domain;
19 | using System.Collections.Generic;
20 | using System;
21 |
22 | namespace io.fusionauth.domain.oauth2
23 | {
24 |
25 | /**
26 | * @author Daniel DeGroff
27 | */
28 | public class JWKSResponse {
29 |
30 | public List keys;
31 |
32 | public JWKSResponse with(Action action) {
33 | action(this);
34 | return this;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/LogoutBehavior.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Matthew Altman
26 | */
27 | public enum LogoutBehavior {
28 | RedirectOnly,
29 | AllApplications
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/OAuthResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class OAuthResponse {
28 |
29 | public OAuthResponse with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/OAuthScopeHandlingPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * Controls the policy for whether OAuth workflows will more strictly adhere to the OAuth and OIDC specification
26 | * or run in backwards compatibility mode.
27 | *
28 | * @author David Charles
29 | */
30 | public enum OAuthScopeHandlingPolicy {
31 | Compatibility,
32 | Strict
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/Oauth2AuthorizedURLValidationPolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Johnathon Wood
26 | */
27 | public enum Oauth2AuthorizedURLValidationPolicy {
28 | AllowWildcards,
29 | ExactMatch
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/ProofKeyForCodeExchangePolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Brett Guy
26 | */
27 | public enum ProofKeyForCodeExchangePolicy {
28 | Required,
29 | NotRequired,
30 | NotRequiredWhenUsingClientAuthentication
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/UnknownScopePolicy.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * Policy for handling unknown OAuth scopes in the request
26 | *
27 | * @author Spencer Witt
28 | */
29 | public enum UnknownScopePolicy {
30 | Allow,
31 | Remove,
32 | Reject
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/UserState.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum UserState {
28 | Authenticated,
29 | AuthenticatedNotRegistered,
30 | AuthenticatedNotVerified,
31 | AuthenticatedRegistrationNotVerified
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/oauth2/UserinfoResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.oauth2
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class UserinfoResponse: Dictionary {
28 |
29 | public UserinfoResponse with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/provider/ClientAuthenticationMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.provider
22 | {
23 |
24 | public enum ClientAuthenticationMethod {
25 | none,
26 | client_secret_basic,
27 | client_secret_post
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/provider/DomainBasedIdentityProvider.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.provider
22 | {
23 |
24 | /**
25 | * Interface for all identity providers that can be domain based.
26 | */
27 | public class DomainBasedIdentityProvider {
28 |
29 | public DomainBasedIdentityProvider with(Action action) {
30 | action(this);
31 | return this;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/provider/IdentityProviderLoginMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.provider
22 | {
23 |
24 | /**
25 | * @author Brett Pontarelli
26 | */
27 | public enum IdentityProviderLoginMethod {
28 | UsePopup,
29 | UseRedirect,
30 | UseVendorJavaScript
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/provider/LambdaConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.provider
22 | {
23 |
24 | public class LambdaConfiguration {
25 |
26 | public Guid? reconcileId;
27 |
28 | public LambdaConfiguration with(Action action) {
29 | action(this);
30 | return this;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/provider/SteamAPIMode.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.provider
22 | {
23 |
24 | /**
25 | * Steam API modes.
26 | *
27 | * @author Daniel DeGroff
28 | */
29 | public enum SteamAPIMode {
30 | Public,
31 | Partner
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/reactor/ReactorFeatureStatus.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.reactor
22 | {
23 |
24 | /**
25 | * @author Brian Pontarelli
26 | */
27 | public enum ReactorFeatureStatus {
28 | ACTIVE,
29 | DISCONNECTED,
30 | PENDING,
31 | DISABLED,
32 | UNKNOWN
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/reactor/ReactorMetrics.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.reactor
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class ReactorMetrics {
28 |
29 | public IDictionary breachedPasswordMetrics;
30 |
31 | public ReactorMetrics with(Action action) {
32 | action(this);
33 | return this;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/search/Sort.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.search
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum Sort {
28 | asc,
29 | desc
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/search/SortField.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.search
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public class SortField {
28 |
29 | public string missing;
30 |
31 | public string name;
32 |
33 | public Sort order;
34 |
35 | public SortField with(Action action) {
36 | action(this);
37 | return this;
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/util/HTTPMethod.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.util
22 | {
23 |
24 | /**
25 | * @author Daniel DeGroff
26 | */
27 | public enum HTTPMethod {
28 | GET,
29 | POST,
30 | PUT,
31 | DELETE,
32 | HEAD,
33 | OPTIONS,
34 | PATCH
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/webauthn/AttestationConveyancePreference.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.webauthn
22 | {
23 |
24 | /**
25 | * Used to communicate whether and how authenticator attestation should be delivered to the Relying Party
26 | *
27 | * @author Spencer Witt
28 | */
29 | public enum AttestationConveyancePreference {
30 | none,
31 | indirect,
32 | direct,
33 | enterprise
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/webauthn/AuthenticatorAttachment.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.webauthn
22 | {
23 |
24 | /**
25 | * Describes the authenticator attachment modality.
26 | *
27 | * @author Spencer Witt
28 | */
29 | public enum AuthenticatorAttachment {
30 | platform,
31 | crossPlatform
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/domain/io/fusionauth/domain/webauthn/AuthenticatorAttachmentPreference.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2023, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 |
18 | using System.Collections.Generic;
19 | using System;
20 |
21 | namespace io.fusionauth.domain.webauthn
22 | {
23 |
24 | /**
25 | * Describes the authenticator attachment modality preference for a WebAuthn workflow. See {@link AuthenticatorAttachment}
26 | *
27 | * @author Spencer Witt
28 | */
29 | public enum AuthenticatorAttachmentPreference {
30 | any,
31 | platform,
32 | crossPlatform
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/fusionauth-netcore-client.sln.DotSettings.user:
--------------------------------------------------------------------------------
1 |
2 | <AssemblyExplorer>
3 | <Assembly Path="/Users/degroff/.nuget/packages/microsoft.netcore.app/2.0.0/ref/netcoreapp2.0/System.Net.Http.dll" />
4 | </AssemblyExplorer>
5 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/global.json:
--------------------------------------------------------------------------------
1 | {
2 | "sdk": {
3 | "version": "2.2.*"
4 | }
5 | }
--------------------------------------------------------------------------------
/fusionauth-netcore-client/src/io/fusionauth/ClientResponse.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2020, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 | using System;
18 | using com.inversoft.error;
19 |
20 | namespace io.fusionauth {
21 | public class ClientResponse {
22 | public int statusCode;
23 |
24 | public T successResponse;
25 |
26 | public Errors errorResponse;
27 |
28 | public Exception exception;
29 |
30 | public bool WasSuccessful() {
31 | return statusCode >= 200 && statusCode <= 299 && exception == null;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/fusionauth-netcore-client/src/io/fusionauth/IRESTClientBuilder.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2020, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 | namespace io.fusionauth {
18 | public interface IRESTClientBuilder {
19 | IRESTClient build(string host);
20 | }
21 | }
--------------------------------------------------------------------------------
/fusionauth-netcore-client/src/io/fusionauth/RESTVoid.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2018-2020, FusionAuth, All Rights Reserved
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing,
11 | * software distributed under the License is distributed on an
12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13 | * either express or implied. See the License for the specific
14 | * language governing permissions and limitations under the License.
15 | */
16 |
17 | namespace io.fusionauth {
18 | public class RESTVoid {
19 | }
20 | }
--------------------------------------------------------------------------------
/fusionauth-netcore-client/src/io/fusionauth/converters/helpers/IdentityProvider.cs:
--------------------------------------------------------------------------------
1 | namespace io.fusionauth.converters.helpers {
2 | /**
3 | * Used to identify all IdentityProvider instances without any generics or
4 | *
5 | */
6 | public interface IdentityProvider {
7 |
8 | }
9 | }
--------------------------------------------------------------------------------