@fusionauth/typescript-client 1.47.0 → 1.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@
15
15
  * language governing permissions and limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.IdentityProviderLoginMethod = exports.ClientAuthenticationMethod = exports.OAuthErrorReason = exports.WebAuthnWorkflow = exports.Oauth2AuthorizedURLValidationPolicy = exports.LogoutBehavior = exports.RateLimitedRequestType = exports.CanonicalizationMethod = exports.SecureGeneratorType = exports.VerificationStrategy = exports.UniqueUsernameStrategy = exports.LDAPSecurityMethod = exports.TOTPAlgorithm = exports.EventType = exports.IdentityProviderType = exports.MessengerType = exports.ExpiryUnit = exports.EmailSecurityType = exports.ChangePasswordReason = exports.SteamAPIMode = exports.UserVerificationRequirement = exports.TransactionType = exports.FamilyRole = exports.KeyUse = exports.Algorithm = exports.EventLogType = exports.BreachAction = exports.IdentityProviderLinkingStrategy = exports.SAMLLogoutBehavior = exports.Sort = exports.OAuthErrorType = exports.LambdaEngineType = exports.UserActionPhase = exports.UnverifiedBehavior = exports.RefreshTokenExpirationPolicy = exports.RegistrationType = exports.LoginIdType = exports.CoseEllipticCurve = exports.AuthenticatorAttachment = exports.MultiFactorLoginPolicy = exports.ConnectorType = exports.KeyType = exports.AttestationType = exports.FormType = exports.KeyAlgorithm = exports.CaptchaMethod = exports.DeviceType = exports.RefreshTokenUsagePolicy = exports.ClientAuthenticationPolicy = exports.ResidentKeyRequirement = exports.AuthenticationThreats = exports.ObjectState = exports.AttestationConveyancePreference = exports.LambdaType = exports.CoseAlgorithmIdentifier = exports.HTTPMethod = exports.FormFieldAdminPolicy = exports.PublicKeyCredentialType = exports.SAMLv2DestinationAssertionPolicy = exports.CoseKeyType = exports.BreachMatchMode = exports.FormControl = exports.ContentStatus = exports.MessageType = exports.IPAccessControlEntryAction = exports.AuthenticatorAttachmentPreference = exports.XMLSignatureLocation = exports.TokenType = exports.ProofKeyForCodeExchangePolicy = exports.ReactorFeatureStatus = exports.GrantType = exports.UserState = exports.ApplicationMultiFactorTrustPolicy = exports.ConsentStatus = exports.BreachedPasswordStatus = exports.FormDataType = exports.FusionAuthClient = void 0;
18
+ exports.OAuthErrorReason = exports.RefreshTokenExpirationPolicy = exports.Oauth2AuthorizedURLValidationPolicy = exports.SAMLv2DestinationAssertionPolicy = exports.LambdaType = exports.MultiFactorLoginPolicy = exports.WebAuthnWorkflow = exports.UserVerificationRequirement = exports.ResidentKeyRequirement = exports.PublicKeyCredentialType = exports.CoseKeyType = exports.CoseEllipticCurve = exports.CoseAlgorithmIdentifier = exports.AuthenticatorAttachmentPreference = exports.AuthenticatorAttachment = exports.AttestationType = exports.AttestationConveyancePreference = exports.XMLSignatureLocation = exports.SAMLLogoutBehavior = exports.RegistrationType = exports.LoginIdType = exports.ContentStatus = exports.Algorithm = exports.CaptchaMethod = exports.ApplicationMultiFactorTrustPolicy = exports.ConsentStatus = exports.ClientAuthenticationMethod = exports.SystemTrustedProxyConfigurationPolicy = exports.AuthenticationThreats = exports.IdentityProviderLoginMethod = exports.EventType = exports.ChangePasswordReason = exports.CanonicalizationMethod = exports.TOTPAlgorithm = exports.BreachedPasswordStatus = exports.VerificationStrategy = exports.IdentityProviderType = exports.SteamAPIMode = exports.ObjectState = exports.KeyType = exports.KeyAlgorithm = exports.Sort = exports.FamilyRole = exports.ExpiryUnit = exports.EventLogType = exports.EmailSecurityType = exports.UserActionPhase = exports.IPAccessControlEntryAction = exports.IdentityProviderLinkingStrategy = exports.FormDataType = exports.SecureGeneratorType = exports.FormType = exports.BreachAction = exports.ClientAuthenticationPolicy = exports.LambdaEngineType = exports.KeyUse = exports.RateLimitedRequestType = exports.DeviceType = exports.OAuthErrorType = exports.RefreshTokenUsagePolicy = exports.UnverifiedBehavior = exports.TransactionType = exports.LDAPSecurityMethod = exports.MessageType = exports.ProofKeyForCodeExchangePolicy = exports.BreachMatchMode = exports.ConnectorType = exports.FormControl = exports.UserState = exports.FormFieldAdminPolicy = exports.HTTPMethod = exports.TokenType = exports.GrantType = exports.MessengerType = exports.ReactorFeatureStatus = exports.UniqueUsernameStrategy = exports.LogoutBehavior = exports.FusionAuthClient = void 0;
19
19
  const DefaultRESTClientBuilder_1 = require("./DefaultRESTClientBuilder");
20
20
  const url_1 = require("url");
21
21
  class FusionAuthClient {
@@ -50,7 +50,7 @@ class FusionAuthClient {
50
50
  * "actioner". Both user ids are required in the request object.
51
51
  *
52
52
  * @param {ActionRequest} request The action request that includes all the information about the action being taken including
53
- * the id of the action, any options and the duration (if applicable).
53
+ * the Id of the action, any options and the duration (if applicable).
54
54
  * @returns {Promise<ClientResponse<ActionResponse>>}
55
55
  */
56
56
  actionUser(request) {
@@ -61,7 +61,7 @@ class FusionAuthClient {
61
61
  .go();
62
62
  }
63
63
  /**
64
- * Activates the FusionAuth Reactor using a license id and optionally a license text (for air-gapped deployments)
64
+ * Activates the FusionAuth Reactor using a license Id and optionally a license text (for air-gapped deployments)
65
65
  *
66
66
  * @param {ReactorRequest} request An optional request that contains the license text to activate Reactor (useful for air-gap deployments of FusionAuth).
67
67
  * @returns {Promise<ClientResponse<void>>}
@@ -74,9 +74,9 @@ class FusionAuthClient {
74
74
  .go();
75
75
  }
76
76
  /**
77
- * Adds a user to an existing family. The family id must be specified.
77
+ * Adds a user to an existing family. The family Id must be specified.
78
78
  *
79
- * @param {UUID} familyId The id of the family.
79
+ * @param {UUID} familyId The Id of the family.
80
80
  * @param {FamilyRequest} request The request object that contains all the information used to determine which user to add to the family.
81
81
  * @returns {Promise<ClientResponse<FamilyResponse>>}
82
82
  */
@@ -112,7 +112,7 @@ class FusionAuthClient {
112
112
  /**
113
113
  * Cancels the user action.
114
114
  *
115
- * @param {UUID} actionId The action id of the action to cancel.
115
+ * @param {UUID} actionId The action Id of the action to cancel.
116
116
  * @param {ActionRequest} request The action request that contains the information about the cancellation.
117
117
  * @returns {Promise<ClientResponse<ActionResponse>>}
118
118
  */
@@ -144,7 +144,7 @@ class FusionAuthClient {
144
144
  .go();
145
145
  }
146
146
  /**
147
- * Changes a user's password using their identity (login id and password). Using a loginId instead of the changePasswordId
147
+ * Changes a user's password using their identity (loginId and password). Using a loginId instead of the changePasswordId
148
148
  * bypasses the email verification and allows a password to be changed directly without first calling the #forgotPassword
149
149
  * method.
150
150
  *
@@ -318,7 +318,7 @@ class FusionAuthClient {
318
318
  .go();
319
319
  }
320
320
  /**
321
- * Creates a new role for an application. You must specify the id of the application you are creating the role for.
321
+ * Creates a new role for an application. You must specify the Id of the application you are creating the role for.
322
322
  * You can optionally specify an Id for the role inside the ApplicationRole object itself, if not provided one will be generated.
323
323
  *
324
324
  * @param {UUID} applicationId The Id of the application to create the role on.
@@ -427,7 +427,7 @@ class FusionAuthClient {
427
427
  .go();
428
428
  }
429
429
  /**
430
- * Creates a new permission for an entity type. You must specify the id of the entity type you are creating the permission for.
430
+ * Creates a new permission for an entity type. You must specify the Id of the entity type you are creating the permission for.
431
431
  * You can optionally specify an Id for the permission inside the EntityTypePermission object itself, if not provided one will be generated.
432
432
  *
433
433
  * @param {UUID} entityTypeId The Id of the entity type to create the permission on.
@@ -446,10 +446,10 @@ class FusionAuthClient {
446
446
  .go();
447
447
  }
448
448
  /**
449
- * Creates a family with the user id in the request as the owner and sole member of the family. You can optionally specify an id for the
449
+ * Creates a family with the user Id in the request as the owner and sole member of the family. You can optionally specify an Id for the
450
450
  * family, if not provided one will be generated.
451
451
  *
452
- * @param {UUID} familyId (Optional) The id for the family. If not provided a secure random UUID will be generated.
452
+ * @param {UUID} familyId (Optional) The Id for the family. If not provided a secure random UUID will be generated.
453
453
  * @param {FamilyRequest} request The request object that contains all the information used to create the family.
454
454
  * @returns {Promise<ClientResponse<FamilyResponse>>}
455
455
  */
@@ -1865,7 +1865,7 @@ class FusionAuthClient {
1865
1865
  .go();
1866
1866
  }
1867
1867
  /**
1868
- * Updates, via PATCH, the application role with the given id for the application.
1868
+ * Updates, via PATCH, the application role with the given Id for the application.
1869
1869
  *
1870
1870
  * @param {UUID} applicationId The Id of the application that the role belongs to.
1871
1871
  * @param {UUID} roleId The Id of the role to update.
@@ -2031,7 +2031,7 @@ class FusionAuthClient {
2031
2031
  .go();
2032
2032
  }
2033
2033
  /**
2034
- * Updates, via PATCH, the registration for the user with the given id and the application defined in the request.
2034
+ * Updates, via PATCH, the registration for the user with the given Id and the application defined in the request.
2035
2035
  *
2036
2036
  * @param {UUID} userId The Id of the user whose registration is going to be updated.
2037
2037
  * @param {RegistrationRequest} request The request that contains just the new registration information.
@@ -2246,7 +2246,7 @@ class FusionAuthClient {
2246
2246
  * Registers a user for an application. If you provide the User and the UserRegistration object on this request, it
2247
2247
  * will create the user as well as register them for the application. This is called a Full Registration. However, if
2248
2248
  * you only provide the UserRegistration object, then the user must already exist and they will be registered for the
2249
- * application. The user id can also be provided and it will either be used to look up an existing user or it will be
2249
+ * application. The user Id can also be provided and it will either be used to look up an existing user or it will be
2250
2250
  * used for the newly created User.
2251
2251
  *
2252
2252
  * @param {UUID} userId (Optional) The Id of the user being registered for the application and optionally created.
@@ -2281,8 +2281,8 @@ class FusionAuthClient {
2281
2281
  /**
2282
2282
  * Removes a user from the family with the given id.
2283
2283
  *
2284
- * @param {UUID} familyId The id of the family to remove the user from.
2285
- * @param {UUID} userId The id of the user to remove from the family.
2284
+ * @param {UUID} familyId The Id of the family to remove the user from.
2285
+ * @param {UUID} userId The Id of the user to remove from the family.
2286
2286
  * @returns {Promise<ClientResponse<void>>}
2287
2287
  */
2288
2288
  removeUserFromFamily(familyId, userId) {
@@ -2407,7 +2407,7 @@ class FusionAuthClient {
2407
2407
  .go();
2408
2408
  }
2409
2409
  /**
2410
- * Retrieves the application for the given id or all the applications if the id is null.
2410
+ * Retrieves the application for the given Id or all the applications if the Id is null.
2411
2411
  *
2412
2412
  * @param {UUID} applicationId (Optional) The application id.
2413
2413
  * @returns {Promise<ClientResponse<ApplicationResponse>>}
@@ -2728,7 +2728,7 @@ class FusionAuthClient {
2728
2728
  .go();
2729
2729
  }
2730
2730
  /**
2731
- * Retrieves the identity provider for the given id or all the identity providers if the id is null.
2731
+ * Retrieves the identity provider for the given Id or all the identity providers if the Id is null.
2732
2732
  *
2733
2733
  * @param {UUID} identityProviderId The identity provider Id.
2734
2734
  * @returns {Promise<ClientResponse<IdentityProviderResponse>>}
@@ -3168,7 +3168,7 @@ class FusionAuthClient {
3168
3168
  .go();
3169
3169
  }
3170
3170
  /**
3171
- * Retrieves the user registration for the user with the given id and the given application id.
3171
+ * Retrieves the user registration for the user with the given Id and the given application id.
3172
3172
  *
3173
3173
  * @param {UUID} userId The Id of the user.
3174
3174
  * @param {UUID} applicationId The Id of the application.
@@ -3728,8 +3728,8 @@ class FusionAuthClient {
3728
3728
  * - revokeRefreshTokensByUserIdForApplication
3729
3729
  *
3730
3730
  * @param {string} token (Optional) The refresh token to delete.
3731
- * @param {UUID} userId (Optional) The user id whose tokens to delete.
3732
- * @param {UUID} applicationId (Optional) The application id of the tokens to delete.
3731
+ * @param {UUID} userId (Optional) The user Id whose tokens to delete.
3732
+ * @param {UUID} applicationId (Optional) The application Id of the tokens to delete.
3733
3733
  * @returns {Promise<ClientResponse<void>>}
3734
3734
  */
3735
3735
  revokeRefreshToken(token, userId, applicationId) {
@@ -3901,7 +3901,7 @@ class FusionAuthClient {
3901
3901
  .go();
3902
3902
  }
3903
3903
  /**
3904
- * Retrieves the entities for the given ids. If any id is invalid, it is ignored.
3904
+ * Retrieves the entities for the given ids. If any Id is invalid, it is ignored.
3905
3905
  *
3906
3906
  * @param {Array<string>} ids The entity ids to search for.
3907
3907
  * @returns {Promise<ClientResponse<EntitySearchResponse>>}
@@ -4083,7 +4083,7 @@ class FusionAuthClient {
4083
4083
  .go();
4084
4084
  }
4085
4085
  /**
4086
- * Retrieves the users for the given ids. If any id is invalid, it is ignored.
4086
+ * Retrieves the users for the given ids. If any Id is invalid, it is ignored.
4087
4087
  *
4088
4088
  * @param {Array<string>} ids The user ids to search for.
4089
4089
  * @returns {Promise<ClientResponse<SearchResponse>>}
@@ -4098,7 +4098,7 @@ class FusionAuthClient {
4098
4098
  .go();
4099
4099
  }
4100
4100
  /**
4101
- * Retrieves the users for the given ids. If any id is invalid, it is ignored.
4101
+ * Retrieves the users for the given ids. If any Id is invalid, it is ignored.
4102
4102
  *
4103
4103
  * @param {Array<string>} ids The user ids to search for.
4104
4104
  * @returns {Promise<ClientResponse<SearchResponse>>}
@@ -4157,7 +4157,7 @@ class FusionAuthClient {
4157
4157
  * Send an email using an email template id. You can optionally provide <code>requestData</code> to access key value
4158
4158
  * pairs in the email template.
4159
4159
  *
4160
- * @param {UUID} emailTemplateId The id for the template.
4160
+ * @param {UUID} emailTemplateId The Id for the template.
4161
4161
  * @param {SendRequest} request The send email request that contains all the information used to send the email.
4162
4162
  * @returns {Promise<ClientResponse<SendResponse>>}
4163
4163
  */
@@ -4370,7 +4370,7 @@ class FusionAuthClient {
4370
4370
  .go();
4371
4371
  }
4372
4372
  /**
4373
- * Updates the application role with the given id for the application.
4373
+ * Updates the application role with the given Id for the application.
4374
4374
  *
4375
4375
  * @param {UUID} applicationId The Id of the application that the role belongs to.
4376
4376
  * @param {UUID} roleId The Id of the role to update.
@@ -4463,7 +4463,7 @@ class FusionAuthClient {
4463
4463
  .go();
4464
4464
  }
4465
4465
  /**
4466
- * Updates the permission with the given id for the entity type.
4466
+ * Updates the permission with the given Id for the entity type.
4467
4467
  *
4468
4468
  * @param {UUID} entityTypeId The Id of the entityType that the permission belongs to.
4469
4469
  * @param {UUID} permissionId The Id of the permission to update.
@@ -4642,7 +4642,7 @@ class FusionAuthClient {
4642
4642
  .go();
4643
4643
  }
4644
4644
  /**
4645
- * Updates the registration for the user with the given id and the application defined in the request.
4645
+ * Updates the registration for the user with the given Id and the application defined in the request.
4646
4646
  *
4647
4647
  * @param {UUID} userId The Id of the user whose registration is going to be updated.
4648
4648
  * @param {RegistrationRequest} request The request that contains all the new registration information.
@@ -4846,7 +4846,7 @@ class FusionAuthClient {
4846
4846
  /**
4847
4847
  * Confirms a email verification. The Id given is usually from an email sent to the user.
4848
4848
  *
4849
- * @param {string} verificationId The email verification id sent to the user.
4849
+ * @param {string} verificationId The email verification Id sent to the user.
4850
4850
  * @returns {Promise<ClientResponse<void>>}
4851
4851
  *
4852
4852
  * @deprecated This method has been renamed to verifyEmailAddress and changed to take a JSON request body, use that method instead.
@@ -4953,57 +4953,38 @@ class FusionAuthClient {
4953
4953
  exports.FusionAuthClient = FusionAuthClient;
4954
4954
  exports.default = FusionAuthClient;
4955
4955
  /**
4956
- * @author Daniel DeGroff
4957
- */
4958
- var FormDataType;
4959
- (function (FormDataType) {
4960
- FormDataType["bool"] = "bool";
4961
- FormDataType["consent"] = "consent";
4962
- FormDataType["date"] = "date";
4963
- FormDataType["email"] = "email";
4964
- FormDataType["number"] = "number";
4965
- FormDataType["string"] = "string";
4966
- })(FormDataType = exports.FormDataType || (exports.FormDataType = {}));
4967
- /**
4968
- * @author Daniel DeGroff
4969
- */
4970
- var BreachedPasswordStatus;
4971
- (function (BreachedPasswordStatus) {
4972
- BreachedPasswordStatus["None"] = "None";
4973
- BreachedPasswordStatus["ExactMatch"] = "ExactMatch";
4974
- BreachedPasswordStatus["SubAddressMatch"] = "SubAddressMatch";
4975
- BreachedPasswordStatus["PasswordOnly"] = "PasswordOnly";
4976
- BreachedPasswordStatus["CommonPassword"] = "CommonPassword";
4977
- })(BreachedPasswordStatus = exports.BreachedPasswordStatus || (exports.BreachedPasswordStatus = {}));
4978
- /**
4979
- * Models a consent.
4980
- *
4981
- * @author Daniel DeGroff
4956
+ * @author Matthew Altman
4982
4957
  */
4983
- var ConsentStatus;
4984
- (function (ConsentStatus) {
4985
- ConsentStatus["Active"] = "Active";
4986
- ConsentStatus["Revoked"] = "Revoked";
4987
- })(ConsentStatus = exports.ConsentStatus || (exports.ConsentStatus = {}));
4958
+ var LogoutBehavior;
4959
+ (function (LogoutBehavior) {
4960
+ LogoutBehavior["RedirectOnly"] = "RedirectOnly";
4961
+ LogoutBehavior["AllApplications"] = "AllApplications";
4962
+ })(LogoutBehavior = exports.LogoutBehavior || (exports.LogoutBehavior = {}));
4963
+ var UniqueUsernameStrategy;
4964
+ (function (UniqueUsernameStrategy) {
4965
+ UniqueUsernameStrategy["Always"] = "Always";
4966
+ UniqueUsernameStrategy["OnCollision"] = "OnCollision";
4967
+ })(UniqueUsernameStrategy = exports.UniqueUsernameStrategy || (exports.UniqueUsernameStrategy = {}));
4988
4968
  /**
4989
- * @author Daniel DeGroff
4969
+ * @author Brian Pontarelli
4990
4970
  */
4991
- var ApplicationMultiFactorTrustPolicy;
4992
- (function (ApplicationMultiFactorTrustPolicy) {
4993
- ApplicationMultiFactorTrustPolicy["Any"] = "Any";
4994
- ApplicationMultiFactorTrustPolicy["This"] = "This";
4995
- ApplicationMultiFactorTrustPolicy["None"] = "None";
4996
- })(ApplicationMultiFactorTrustPolicy = exports.ApplicationMultiFactorTrustPolicy || (exports.ApplicationMultiFactorTrustPolicy = {}));
4971
+ var ReactorFeatureStatus;
4972
+ (function (ReactorFeatureStatus) {
4973
+ ReactorFeatureStatus["ACTIVE"] = "ACTIVE";
4974
+ ReactorFeatureStatus["DISCONNECTED"] = "DISCONNECTED";
4975
+ ReactorFeatureStatus["PENDING"] = "PENDING";
4976
+ ReactorFeatureStatus["DISABLED"] = "DISABLED";
4977
+ ReactorFeatureStatus["UNKNOWN"] = "UNKNOWN";
4978
+ })(ReactorFeatureStatus = exports.ReactorFeatureStatus || (exports.ReactorFeatureStatus = {}));
4997
4979
  /**
4998
- * @author Daniel DeGroff
4980
+ * @author Brett Guy
4999
4981
  */
5000
- var UserState;
5001
- (function (UserState) {
5002
- UserState["Authenticated"] = "Authenticated";
5003
- UserState["AuthenticatedNotRegistered"] = "AuthenticatedNotRegistered";
5004
- UserState["AuthenticatedNotVerified"] = "AuthenticatedNotVerified";
5005
- UserState["AuthenticatedRegistrationNotVerified"] = "AuthenticatedRegistrationNotVerified";
5006
- })(UserState = exports.UserState || (exports.UserState = {}));
4982
+ var MessengerType;
4983
+ (function (MessengerType) {
4984
+ MessengerType["Generic"] = "Generic";
4985
+ MessengerType["Kafka"] = "Kafka";
4986
+ MessengerType["Twilio"] = "Twilio";
4987
+ })(MessengerType = exports.MessengerType || (exports.MessengerType = {}));
5007
4988
  /**
5008
4989
  * Authorization Grant types as defined by the <a href="https://tools.ietf.org/html/rfc6749">The OAuth 2.0 Authorization
5009
4990
  * Framework - RFC 6749</a>.
@@ -5023,26 +5004,6 @@ var GrantType;
5023
5004
  GrantType["unknown"] = "unknown";
5024
5005
  GrantType["device_code"] = "urn:ietf:params:oauth:grant-type:device_code";
5025
5006
  })(GrantType = exports.GrantType || (exports.GrantType = {}));
5026
- /**
5027
- * @author Brian Pontarelli
5028
- */
5029
- var ReactorFeatureStatus;
5030
- (function (ReactorFeatureStatus) {
5031
- ReactorFeatureStatus["ACTIVE"] = "ACTIVE";
5032
- ReactorFeatureStatus["DISCONNECTED"] = "DISCONNECTED";
5033
- ReactorFeatureStatus["PENDING"] = "PENDING";
5034
- ReactorFeatureStatus["DISABLED"] = "DISABLED";
5035
- ReactorFeatureStatus["UNKNOWN"] = "UNKNOWN";
5036
- })(ReactorFeatureStatus = exports.ReactorFeatureStatus || (exports.ReactorFeatureStatus = {}));
5037
- /**
5038
- * @author Brett Guy
5039
- */
5040
- var ProofKeyForCodeExchangePolicy;
5041
- (function (ProofKeyForCodeExchangePolicy) {
5042
- ProofKeyForCodeExchangePolicy["Required"] = "Required";
5043
- ProofKeyForCodeExchangePolicy["NotRequired"] = "NotRequired";
5044
- ProofKeyForCodeExchangePolicy["NotRequiredWhenUsingClientAuthentication"] = "NotRequiredWhenUsingClientAuthentication";
5045
- })(ProofKeyForCodeExchangePolicy = exports.ProofKeyForCodeExchangePolicy || (exports.ProofKeyForCodeExchangePolicy = {}));
5046
5007
  /**
5047
5008
  * <ul>
5048
5009
  * <li>Bearer Token type as defined by <a href="https://tools.ietf.org/html/rfc6750">RFC 6750</a>.</li>
@@ -5059,48 +5020,37 @@ var TokenType;
5059
5020
  TokenType["Bearer"] = "Bearer";
5060
5021
  TokenType["MAC"] = "MAC";
5061
5022
  })(TokenType = exports.TokenType || (exports.TokenType = {}));
5062
- var XMLSignatureLocation;
5063
- (function (XMLSignatureLocation) {
5064
- XMLSignatureLocation["Assertion"] = "Assertion";
5065
- XMLSignatureLocation["Response"] = "Response";
5066
- })(XMLSignatureLocation = exports.XMLSignatureLocation || (exports.XMLSignatureLocation = {}));
5067
- /**
5068
- * Describes the authenticator attachment modality preference for a WebAuthn workflow. See {@link AuthenticatorAttachment}
5069
- *
5070
- * @author Spencer Witt
5071
- */
5072
- var AuthenticatorAttachmentPreference;
5073
- (function (AuthenticatorAttachmentPreference) {
5074
- AuthenticatorAttachmentPreference["any"] = "any";
5075
- AuthenticatorAttachmentPreference["platform"] = "platform";
5076
- AuthenticatorAttachmentPreference["crossPlatform"] = "crossPlatform";
5077
- })(AuthenticatorAttachmentPreference = exports.AuthenticatorAttachmentPreference || (exports.AuthenticatorAttachmentPreference = {}));
5078
5023
  /**
5079
- * @author Brett Guy
5024
+ * @author Daniel DeGroff
5080
5025
  */
5081
- var IPAccessControlEntryAction;
5082
- (function (IPAccessControlEntryAction) {
5083
- IPAccessControlEntryAction["Allow"] = "Allow";
5084
- IPAccessControlEntryAction["Block"] = "Block";
5085
- })(IPAccessControlEntryAction = exports.IPAccessControlEntryAction || (exports.IPAccessControlEntryAction = {}));
5026
+ var HTTPMethod;
5027
+ (function (HTTPMethod) {
5028
+ HTTPMethod["GET"] = "GET";
5029
+ HTTPMethod["POST"] = "POST";
5030
+ HTTPMethod["PUT"] = "PUT";
5031
+ HTTPMethod["DELETE"] = "DELETE";
5032
+ HTTPMethod["HEAD"] = "HEAD";
5033
+ HTTPMethod["OPTIONS"] = "OPTIONS";
5034
+ HTTPMethod["PATCH"] = "PATCH";
5035
+ })(HTTPMethod = exports.HTTPMethod || (exports.HTTPMethod = {}));
5086
5036
  /**
5087
- * @author Mikey Sleevi
5037
+ * @author Daniel DeGroff
5088
5038
  */
5089
- var MessageType;
5090
- (function (MessageType) {
5091
- MessageType["SMS"] = "SMS";
5092
- })(MessageType = exports.MessageType || (exports.MessageType = {}));
5039
+ var FormFieldAdminPolicy;
5040
+ (function (FormFieldAdminPolicy) {
5041
+ FormFieldAdminPolicy["Edit"] = "Edit";
5042
+ FormFieldAdminPolicy["View"] = "View";
5043
+ })(FormFieldAdminPolicy = exports.FormFieldAdminPolicy || (exports.FormFieldAdminPolicy = {}));
5093
5044
  /**
5094
- * Status for content like usernames, profile attributes, etc.
5095
- *
5096
- * @author Brian Pontarelli
5045
+ * @author Daniel DeGroff
5097
5046
  */
5098
- var ContentStatus;
5099
- (function (ContentStatus) {
5100
- ContentStatus["ACTIVE"] = "ACTIVE";
5101
- ContentStatus["PENDING"] = "PENDING";
5102
- ContentStatus["REJECTED"] = "REJECTED";
5103
- })(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
5047
+ var UserState;
5048
+ (function (UserState) {
5049
+ UserState["Authenticated"] = "Authenticated";
5050
+ UserState["AuthenticatedNotRegistered"] = "AuthenticatedNotRegistered";
5051
+ UserState["AuthenticatedNotVerified"] = "AuthenticatedNotVerified";
5052
+ UserState["AuthenticatedRegistrationNotVerified"] = "AuthenticatedRegistrationNotVerified";
5053
+ })(UserState = exports.UserState || (exports.UserState = {}));
5104
5054
  /**
5105
5055
  * @author Daniel DeGroff
5106
5056
  */
@@ -5114,6 +5064,17 @@ var FormControl;
5114
5064
  FormControl["textarea"] = "textarea";
5115
5065
  FormControl["text"] = "text";
5116
5066
  })(FormControl = exports.FormControl || (exports.FormControl = {}));
5067
+ /**
5068
+ * The types of connectors. This enum is stored as an ordinal on the <code>identities</code> table, order must be maintained.
5069
+ *
5070
+ * @author Trevor Smith
5071
+ */
5072
+ var ConnectorType;
5073
+ (function (ConnectorType) {
5074
+ ConnectorType["FusionAuth"] = "FusionAuth";
5075
+ ConnectorType["Generic"] = "Generic";
5076
+ ConnectorType["LDAP"] = "LDAP";
5077
+ })(ConnectorType = exports.ConnectorType || (exports.ConnectorType = {}));
5117
5078
  var BreachMatchMode;
5118
5079
  (function (BreachMatchMode) {
5119
5080
  BreachMatchMode["Low"] = "Low";
@@ -5121,147 +5082,117 @@ var BreachMatchMode;
5121
5082
  BreachMatchMode["High"] = "High";
5122
5083
  })(BreachMatchMode = exports.BreachMatchMode || (exports.BreachMatchMode = {}));
5123
5084
  /**
5124
- * COSE key type
5125
- *
5126
- * @author Spencer Witt
5085
+ * @author Brett Guy
5127
5086
  */
5128
- var CoseKeyType;
5129
- (function (CoseKeyType) {
5130
- CoseKeyType["Reserved"] = "0";
5131
- CoseKeyType["OKP"] = "1";
5132
- CoseKeyType["EC2"] = "2";
5133
- CoseKeyType["RSA"] = "3";
5134
- CoseKeyType["Symmetric"] = "4";
5135
- })(CoseKeyType = exports.CoseKeyType || (exports.CoseKeyType = {}));
5087
+ var ProofKeyForCodeExchangePolicy;
5088
+ (function (ProofKeyForCodeExchangePolicy) {
5089
+ ProofKeyForCodeExchangePolicy["Required"] = "Required";
5090
+ ProofKeyForCodeExchangePolicy["NotRequired"] = "NotRequired";
5091
+ ProofKeyForCodeExchangePolicy["NotRequiredWhenUsingClientAuthentication"] = "NotRequiredWhenUsingClientAuthentication";
5092
+ })(ProofKeyForCodeExchangePolicy = exports.ProofKeyForCodeExchangePolicy || (exports.ProofKeyForCodeExchangePolicy = {}));
5136
5093
  /**
5137
- * @author Lyle Schemmerling
5094
+ * @author Mikey Sleevi
5138
5095
  */
5139
- var SAMLv2DestinationAssertionPolicy;
5140
- (function (SAMLv2DestinationAssertionPolicy) {
5141
- SAMLv2DestinationAssertionPolicy["Enabled"] = "Enabled";
5142
- SAMLv2DestinationAssertionPolicy["Disabled"] = "Disabled";
5143
- SAMLv2DestinationAssertionPolicy["AllowAlternates"] = "AllowAlternates";
5144
- })(SAMLv2DestinationAssertionPolicy = exports.SAMLv2DestinationAssertionPolicy || (exports.SAMLv2DestinationAssertionPolicy = {}));
5096
+ var MessageType;
5097
+ (function (MessageType) {
5098
+ MessageType["SMS"] = "SMS";
5099
+ })(MessageType = exports.MessageType || (exports.MessageType = {}));
5100
+ var LDAPSecurityMethod;
5101
+ (function (LDAPSecurityMethod) {
5102
+ LDAPSecurityMethod["None"] = "None";
5103
+ LDAPSecurityMethod["LDAPS"] = "LDAPS";
5104
+ LDAPSecurityMethod["StartTLS"] = "StartTLS";
5105
+ })(LDAPSecurityMethod = exports.LDAPSecurityMethod || (exports.LDAPSecurityMethod = {}));
5145
5106
  /**
5146
- * Defines valid credential types. This is an extension point in the WebAuthn spec. The only defined value at this time is "public-key"
5107
+ * The transaction types for Webhooks and other event systems within FusionAuth.
5147
5108
  *
5148
- * @author Spencer Witt
5109
+ * @author Brian Pontarelli
5149
5110
  */
5150
- var PublicKeyCredentialType;
5151
- (function (PublicKeyCredentialType) {
5152
- PublicKeyCredentialType["publicKey"] = "public-key";
5153
- })(PublicKeyCredentialType = exports.PublicKeyCredentialType || (exports.PublicKeyCredentialType = {}));
5111
+ var TransactionType;
5112
+ (function (TransactionType) {
5113
+ TransactionType["None"] = "None";
5114
+ TransactionType["Any"] = "Any";
5115
+ TransactionType["SimpleMajority"] = "SimpleMajority";
5116
+ TransactionType["SuperMajority"] = "SuperMajority";
5117
+ TransactionType["AbsoluteMajority"] = "AbsoluteMajority";
5118
+ })(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
5154
5119
  /**
5155
5120
  * @author Daniel DeGroff
5156
5121
  */
5157
- var FormFieldAdminPolicy;
5158
- (function (FormFieldAdminPolicy) {
5159
- FormFieldAdminPolicy["Edit"] = "Edit";
5160
- FormFieldAdminPolicy["View"] = "View";
5161
- })(FormFieldAdminPolicy = exports.FormFieldAdminPolicy || (exports.FormFieldAdminPolicy = {}));
5122
+ var UnverifiedBehavior;
5123
+ (function (UnverifiedBehavior) {
5124
+ UnverifiedBehavior["Allow"] = "Allow";
5125
+ UnverifiedBehavior["Gated"] = "Gated";
5126
+ })(UnverifiedBehavior = exports.UnverifiedBehavior || (exports.UnverifiedBehavior = {}));
5162
5127
  /**
5163
5128
  * @author Daniel DeGroff
5164
5129
  */
5165
- var HTTPMethod;
5166
- (function (HTTPMethod) {
5167
- HTTPMethod["GET"] = "GET";
5168
- HTTPMethod["POST"] = "POST";
5169
- HTTPMethod["PUT"] = "PUT";
5170
- HTTPMethod["DELETE"] = "DELETE";
5171
- HTTPMethod["HEAD"] = "HEAD";
5172
- HTTPMethod["OPTIONS"] = "OPTIONS";
5173
- HTTPMethod["PATCH"] = "PATCH";
5174
- })(HTTPMethod = exports.HTTPMethod || (exports.HTTPMethod = {}));
5175
- /**
5176
- * A number identifying a cryptographic algorithm. Values should be registered with the <a
5177
- * href="https://www.iana.org/assignments/cose/cose.xhtml#algorithms">IANA COSE Algorithms registry</a>
5178
- *
5179
- * @author Spencer Witt
5180
- */
5181
- var CoseAlgorithmIdentifier;
5182
- (function (CoseAlgorithmIdentifier) {
5183
- CoseAlgorithmIdentifier["ES256"] = "SHA256withECDSA";
5184
- CoseAlgorithmIdentifier["ES384"] = "SHA384withECDSA";
5185
- CoseAlgorithmIdentifier["ES512"] = "SHA512withECDSA";
5186
- CoseAlgorithmIdentifier["RS256"] = "SHA256withRSA";
5187
- CoseAlgorithmIdentifier["RS384"] = "SHA384withRSA";
5188
- CoseAlgorithmIdentifier["RS512"] = "SHA512withRSA";
5189
- CoseAlgorithmIdentifier["PS256"] = "SHA-256";
5190
- CoseAlgorithmIdentifier["PS384"] = "SHA-384";
5191
- CoseAlgorithmIdentifier["PS512"] = "SHA-512";
5192
- })(CoseAlgorithmIdentifier = exports.CoseAlgorithmIdentifier || (exports.CoseAlgorithmIdentifier = {}));
5193
- /**
5194
- * The types of lambdas that indicate how they are invoked by FusionAuth.
5195
- *
5196
- * @author Brian Pontarelli
5197
- */
5198
- var LambdaType;
5199
- (function (LambdaType) {
5200
- LambdaType["JWTPopulate"] = "JWTPopulate";
5201
- LambdaType["OpenIDReconcile"] = "OpenIDReconcile";
5202
- LambdaType["SAMLv2Reconcile"] = "SAMLv2Reconcile";
5203
- LambdaType["SAMLv2Populate"] = "SAMLv2Populate";
5204
- LambdaType["AppleReconcile"] = "AppleReconcile";
5205
- LambdaType["ExternalJWTReconcile"] = "ExternalJWTReconcile";
5206
- LambdaType["FacebookReconcile"] = "FacebookReconcile";
5207
- LambdaType["GoogleReconcile"] = "GoogleReconcile";
5208
- LambdaType["HYPRReconcile"] = "HYPRReconcile";
5209
- LambdaType["TwitterReconcile"] = "TwitterReconcile";
5210
- LambdaType["LDAPConnectorReconcile"] = "LDAPConnectorReconcile";
5211
- LambdaType["LinkedInReconcile"] = "LinkedInReconcile";
5212
- LambdaType["EpicGamesReconcile"] = "EpicGamesReconcile";
5213
- LambdaType["NintendoReconcile"] = "NintendoReconcile";
5214
- LambdaType["SonyPSNReconcile"] = "SonyPSNReconcile";
5215
- LambdaType["SteamReconcile"] = "SteamReconcile";
5216
- LambdaType["TwitchReconcile"] = "TwitchReconcile";
5217
- LambdaType["XboxReconcile"] = "XboxReconcile";
5218
- LambdaType["ClientCredentialsJWTPopulate"] = "ClientCredentialsJWTPopulate";
5219
- LambdaType["SCIMServerGroupRequestConverter"] = "SCIMServerGroupRequestConverter";
5220
- LambdaType["SCIMServerGroupResponseConverter"] = "SCIMServerGroupResponseConverter";
5221
- LambdaType["SCIMServerUserRequestConverter"] = "SCIMServerUserRequestConverter";
5222
- LambdaType["SCIMServerUserResponseConverter"] = "SCIMServerUserResponseConverter";
5223
- LambdaType["SelfServiceRegistrationValidation"] = "SelfServiceRegistrationValidation";
5224
- })(LambdaType = exports.LambdaType || (exports.LambdaType = {}));
5225
- /**
5226
- * Used to communicate whether and how authenticator attestation should be delivered to the Relying Party
5227
- *
5228
- * @author Spencer Witt
5229
- */
5230
- var AttestationConveyancePreference;
5231
- (function (AttestationConveyancePreference) {
5232
- AttestationConveyancePreference["none"] = "none";
5233
- AttestationConveyancePreference["indirect"] = "indirect";
5234
- AttestationConveyancePreference["direct"] = "direct";
5235
- AttestationConveyancePreference["enterprise"] = "enterprise";
5236
- })(AttestationConveyancePreference = exports.AttestationConveyancePreference || (exports.AttestationConveyancePreference = {}));
5130
+ var RefreshTokenUsagePolicy;
5131
+ (function (RefreshTokenUsagePolicy) {
5132
+ RefreshTokenUsagePolicy["Reusable"] = "Reusable";
5133
+ RefreshTokenUsagePolicy["OneTimeUse"] = "OneTimeUse";
5134
+ })(RefreshTokenUsagePolicy = exports.RefreshTokenUsagePolicy || (exports.RefreshTokenUsagePolicy = {}));
5135
+ var OAuthErrorType;
5136
+ (function (OAuthErrorType) {
5137
+ OAuthErrorType["invalid_request"] = "invalid_request";
5138
+ OAuthErrorType["invalid_client"] = "invalid_client";
5139
+ OAuthErrorType["invalid_grant"] = "invalid_grant";
5140
+ OAuthErrorType["invalid_token"] = "invalid_token";
5141
+ OAuthErrorType["unauthorized_client"] = "unauthorized_client";
5142
+ OAuthErrorType["invalid_scope"] = "invalid_scope";
5143
+ OAuthErrorType["server_error"] = "server_error";
5144
+ OAuthErrorType["unsupported_grant_type"] = "unsupported_grant_type";
5145
+ OAuthErrorType["unsupported_response_type"] = "unsupported_response_type";
5146
+ OAuthErrorType["change_password_required"] = "change_password_required";
5147
+ OAuthErrorType["not_licensed"] = "not_licensed";
5148
+ OAuthErrorType["two_factor_required"] = "two_factor_required";
5149
+ OAuthErrorType["authorization_pending"] = "authorization_pending";
5150
+ OAuthErrorType["expired_token"] = "expired_token";
5151
+ OAuthErrorType["unsupported_token_type"] = "unsupported_token_type";
5152
+ })(OAuthErrorType = exports.OAuthErrorType || (exports.OAuthErrorType = {}));
5153
+ var DeviceType;
5154
+ (function (DeviceType) {
5155
+ DeviceType["BROWSER"] = "BROWSER";
5156
+ DeviceType["DESKTOP"] = "DESKTOP";
5157
+ DeviceType["LAPTOP"] = "LAPTOP";
5158
+ DeviceType["MOBILE"] = "MOBILE";
5159
+ DeviceType["OTHER"] = "OTHER";
5160
+ DeviceType["SERVER"] = "SERVER";
5161
+ DeviceType["TABLET"] = "TABLET";
5162
+ DeviceType["TV"] = "TV";
5163
+ DeviceType["UNKNOWN"] = "UNKNOWN";
5164
+ })(DeviceType = exports.DeviceType || (exports.DeviceType = {}));
5237
5165
  /**
5238
5166
  * @author Daniel DeGroff
5239
5167
  */
5240
- var ObjectState;
5241
- (function (ObjectState) {
5242
- ObjectState["Active"] = "Active";
5243
- ObjectState["Inactive"] = "Inactive";
5244
- ObjectState["PendingDelete"] = "PendingDelete";
5245
- })(ObjectState = exports.ObjectState || (exports.ObjectState = {}));
5168
+ var RateLimitedRequestType;
5169
+ (function (RateLimitedRequestType) {
5170
+ RateLimitedRequestType["FailedLogin"] = "FailedLogin";
5171
+ RateLimitedRequestType["ForgotPassword"] = "ForgotPassword";
5172
+ RateLimitedRequestType["SendEmailVerification"] = "SendEmailVerification";
5173
+ RateLimitedRequestType["SendPasswordless"] = "SendPasswordless";
5174
+ RateLimitedRequestType["SendRegistrationVerification"] = "SendRegistrationVerification";
5175
+ RateLimitedRequestType["SendTwoFactor"] = "SendTwoFactor";
5176
+ })(RateLimitedRequestType = exports.RateLimitedRequestType || (exports.RateLimitedRequestType = {}));
5246
5177
  /**
5247
- * @author Brett Pontarelli
5178
+ * The use type of a key.
5179
+ *
5180
+ * @author Daniel DeGroff
5248
5181
  */
5249
- var AuthenticationThreats;
5250
- (function (AuthenticationThreats) {
5251
- AuthenticationThreats["ImpossibleTravel"] = "ImpossibleTravel";
5252
- })(AuthenticationThreats = exports.AuthenticationThreats || (exports.AuthenticationThreats = {}));
5182
+ var KeyUse;
5183
+ (function (KeyUse) {
5184
+ KeyUse["SignOnly"] = "SignOnly";
5185
+ KeyUse["SignAndVerify"] = "SignAndVerify";
5186
+ KeyUse["VerifyOnly"] = "VerifyOnly";
5187
+ })(KeyUse = exports.KeyUse || (exports.KeyUse = {}));
5253
5188
  /**
5254
- * Describes the Relying Party's requirements for <a href="https://www.w3.org/TR/webauthn-2/#client-side-discoverable-credential">client-side
5255
- * discoverable credentials</a> (formerly known as "resident keys")
5256
- *
5257
- * @author Spencer Witt
5189
+ * @author Daniel DeGroff
5258
5190
  */
5259
- var ResidentKeyRequirement;
5260
- (function (ResidentKeyRequirement) {
5261
- ResidentKeyRequirement["discouraged"] = "discouraged";
5262
- ResidentKeyRequirement["preferred"] = "preferred";
5263
- ResidentKeyRequirement["required"] = "required";
5264
- })(ResidentKeyRequirement = exports.ResidentKeyRequirement || (exports.ResidentKeyRequirement = {}));
5191
+ var LambdaEngineType;
5192
+ (function (LambdaEngineType) {
5193
+ LambdaEngineType["GraalJS"] = "GraalJS";
5194
+ LambdaEngineType["Nashorn"] = "Nashorn";
5195
+ })(LambdaEngineType = exports.LambdaEngineType || (exports.LambdaEngineType = {}));
5265
5196
  /**
5266
5197
  * @author Brett Guy
5267
5198
  */
@@ -5271,36 +5202,124 @@ var ClientAuthenticationPolicy;
5271
5202
  ClientAuthenticationPolicy["NotRequired"] = "NotRequired";
5272
5203
  ClientAuthenticationPolicy["NotRequiredWhenUsingPKCE"] = "NotRequiredWhenUsingPKCE";
5273
5204
  })(ClientAuthenticationPolicy = exports.ClientAuthenticationPolicy || (exports.ClientAuthenticationPolicy = {}));
5205
+ var BreachAction;
5206
+ (function (BreachAction) {
5207
+ BreachAction["Off"] = "Off";
5208
+ BreachAction["RecordOnly"] = "RecordOnly";
5209
+ BreachAction["NotifyUser"] = "NotifyUser";
5210
+ BreachAction["RequireChange"] = "RequireChange";
5211
+ })(BreachAction = exports.BreachAction || (exports.BreachAction = {}));
5274
5212
  /**
5275
5213
  * @author Daniel DeGroff
5276
5214
  */
5277
- var RefreshTokenUsagePolicy;
5278
- (function (RefreshTokenUsagePolicy) {
5279
- RefreshTokenUsagePolicy["Reusable"] = "Reusable";
5280
- RefreshTokenUsagePolicy["OneTimeUse"] = "OneTimeUse";
5281
- })(RefreshTokenUsagePolicy = exports.RefreshTokenUsagePolicy || (exports.RefreshTokenUsagePolicy = {}));
5282
- var DeviceType;
5283
- (function (DeviceType) {
5284
- DeviceType["BROWSER"] = "BROWSER";
5285
- DeviceType["DESKTOP"] = "DESKTOP";
5286
- DeviceType["LAPTOP"] = "LAPTOP";
5287
- DeviceType["MOBILE"] = "MOBILE";
5288
- DeviceType["OTHER"] = "OTHER";
5289
- DeviceType["SERVER"] = "SERVER";
5290
- DeviceType["TABLET"] = "TABLET";
5291
- DeviceType["TV"] = "TV";
5292
- DeviceType["UNKNOWN"] = "UNKNOWN";
5293
- })(DeviceType = exports.DeviceType || (exports.DeviceType = {}));
5215
+ var FormType;
5216
+ (function (FormType) {
5217
+ FormType["registration"] = "registration";
5218
+ FormType["adminRegistration"] = "adminRegistration";
5219
+ FormType["adminUser"] = "adminUser";
5220
+ FormType["selfServiceUser"] = "selfServiceUser";
5221
+ })(FormType = exports.FormType || (exports.FormType = {}));
5294
5222
  /**
5295
- * @author Brett Pontarelli
5223
+ * @author Daniel DeGroff
5296
5224
  */
5297
- var CaptchaMethod;
5298
- (function (CaptchaMethod) {
5299
- CaptchaMethod["GoogleRecaptchaV2"] = "GoogleRecaptchaV2";
5300
- CaptchaMethod["GoogleRecaptchaV3"] = "GoogleRecaptchaV3";
5301
- CaptchaMethod["HCaptcha"] = "HCaptcha";
5302
- CaptchaMethod["HCaptchaEnterprise"] = "HCaptchaEnterprise";
5303
- })(CaptchaMethod = exports.CaptchaMethod || (exports.CaptchaMethod = {}));
5225
+ var SecureGeneratorType;
5226
+ (function (SecureGeneratorType) {
5227
+ SecureGeneratorType["randomDigits"] = "randomDigits";
5228
+ SecureGeneratorType["randomBytes"] = "randomBytes";
5229
+ SecureGeneratorType["randomAlpha"] = "randomAlpha";
5230
+ SecureGeneratorType["randomAlphaNumeric"] = "randomAlphaNumeric";
5231
+ })(SecureGeneratorType = exports.SecureGeneratorType || (exports.SecureGeneratorType = {}));
5232
+ /**
5233
+ * @author Daniel DeGroff
5234
+ */
5235
+ var FormDataType;
5236
+ (function (FormDataType) {
5237
+ FormDataType["bool"] = "bool";
5238
+ FormDataType["consent"] = "consent";
5239
+ FormDataType["date"] = "date";
5240
+ FormDataType["email"] = "email";
5241
+ FormDataType["number"] = "number";
5242
+ FormDataType["string"] = "string";
5243
+ })(FormDataType = exports.FormDataType || (exports.FormDataType = {}));
5244
+ /**
5245
+ * The IdP behavior when no user link has been made yet.
5246
+ *
5247
+ * @author Daniel DeGroff
5248
+ */
5249
+ var IdentityProviderLinkingStrategy;
5250
+ (function (IdentityProviderLinkingStrategy) {
5251
+ IdentityProviderLinkingStrategy["CreatePendingLink"] = "CreatePendingLink";
5252
+ IdentityProviderLinkingStrategy["Disabled"] = "Disabled";
5253
+ IdentityProviderLinkingStrategy["LinkAnonymously"] = "LinkAnonymously";
5254
+ IdentityProviderLinkingStrategy["LinkByEmail"] = "LinkByEmail";
5255
+ IdentityProviderLinkingStrategy["LinkByEmailForExistingUser"] = "LinkByEmailForExistingUser";
5256
+ IdentityProviderLinkingStrategy["LinkByUsername"] = "LinkByUsername";
5257
+ IdentityProviderLinkingStrategy["LinkByUsernameForExistingUser"] = "LinkByUsernameForExistingUser";
5258
+ IdentityProviderLinkingStrategy["Unsupported"] = "Unsupported";
5259
+ })(IdentityProviderLinkingStrategy = exports.IdentityProviderLinkingStrategy || (exports.IdentityProviderLinkingStrategy = {}));
5260
+ /**
5261
+ * @author Brett Guy
5262
+ */
5263
+ var IPAccessControlEntryAction;
5264
+ (function (IPAccessControlEntryAction) {
5265
+ IPAccessControlEntryAction["Allow"] = "Allow";
5266
+ IPAccessControlEntryAction["Block"] = "Block";
5267
+ })(IPAccessControlEntryAction = exports.IPAccessControlEntryAction || (exports.IPAccessControlEntryAction = {}));
5268
+ /**
5269
+ * The phases of a time-based user action.
5270
+ *
5271
+ * @author Brian Pontarelli
5272
+ */
5273
+ var UserActionPhase;
5274
+ (function (UserActionPhase) {
5275
+ UserActionPhase["start"] = "start";
5276
+ UserActionPhase["modify"] = "modify";
5277
+ UserActionPhase["cancel"] = "cancel";
5278
+ UserActionPhase["end"] = "end";
5279
+ })(UserActionPhase = exports.UserActionPhase || (exports.UserActionPhase = {}));
5280
+ var EmailSecurityType;
5281
+ (function (EmailSecurityType) {
5282
+ EmailSecurityType["NONE"] = "NONE";
5283
+ EmailSecurityType["SSL"] = "SSL";
5284
+ EmailSecurityType["TLS"] = "TLS";
5285
+ })(EmailSecurityType = exports.EmailSecurityType || (exports.EmailSecurityType = {}));
5286
+ /**
5287
+ * Event Log Type
5288
+ *
5289
+ * @author Daniel DeGroff
5290
+ */
5291
+ var EventLogType;
5292
+ (function (EventLogType) {
5293
+ EventLogType["Information"] = "Information";
5294
+ EventLogType["Debug"] = "Debug";
5295
+ EventLogType["Error"] = "Error";
5296
+ })(EventLogType = exports.EventLogType || (exports.EventLogType = {}));
5297
+ /**
5298
+ * @author Brian Pontarelli
5299
+ */
5300
+ var ExpiryUnit;
5301
+ (function (ExpiryUnit) {
5302
+ ExpiryUnit["MINUTES"] = "MINUTES";
5303
+ ExpiryUnit["HOURS"] = "HOURS";
5304
+ ExpiryUnit["DAYS"] = "DAYS";
5305
+ ExpiryUnit["WEEKS"] = "WEEKS";
5306
+ ExpiryUnit["MONTHS"] = "MONTHS";
5307
+ ExpiryUnit["YEARS"] = "YEARS";
5308
+ })(ExpiryUnit = exports.ExpiryUnit || (exports.ExpiryUnit = {}));
5309
+ var FamilyRole;
5310
+ (function (FamilyRole) {
5311
+ FamilyRole["Child"] = "Child";
5312
+ FamilyRole["Teen"] = "Teen";
5313
+ FamilyRole["Adult"] = "Adult";
5314
+ })(FamilyRole = exports.FamilyRole || (exports.FamilyRole = {}));
5315
+ /**
5316
+ * @author Daniel DeGroff
5317
+ */
5318
+ var Sort;
5319
+ (function (Sort) {
5320
+ Sort["asc"] = "asc";
5321
+ Sort["desc"] = "desc";
5322
+ })(Sort = exports.Sort || (exports.Sort = {}));
5304
5323
  var KeyAlgorithm;
5305
5324
  (function (KeyAlgorithm) {
5306
5325
  KeyAlgorithm["ES256"] = "ES256";
@@ -5313,194 +5332,220 @@ var KeyAlgorithm;
5313
5332
  KeyAlgorithm["RS384"] = "RS384";
5314
5333
  KeyAlgorithm["RS512"] = "RS512";
5315
5334
  })(KeyAlgorithm = exports.KeyAlgorithm || (exports.KeyAlgorithm = {}));
5316
- /**
5317
- * @author Daniel DeGroff
5318
- */
5319
- var FormType;
5320
- (function (FormType) {
5321
- FormType["registration"] = "registration";
5322
- FormType["adminRegistration"] = "adminRegistration";
5323
- FormType["adminUser"] = "adminUser";
5324
- FormType["selfServiceUser"] = "selfServiceUser";
5325
- })(FormType = exports.FormType || (exports.FormType = {}));
5326
- /**
5327
- * Used to indicate what type of attestation was included in the authenticator response for a given WebAuthn credential at the time it was created
5328
- *
5329
- * @author Spencer Witt
5330
- */
5331
- var AttestationType;
5332
- (function (AttestationType) {
5333
- AttestationType["basic"] = "basic";
5334
- AttestationType["self"] = "self";
5335
- AttestationType["attestationCa"] = "attestationCa";
5336
- AttestationType["anonymizationCa"] = "anonymizationCa";
5337
- AttestationType["none"] = "none";
5338
- })(AttestationType = exports.AttestationType || (exports.AttestationType = {}));
5339
5335
  var KeyType;
5340
5336
  (function (KeyType) {
5341
5337
  KeyType["EC"] = "EC";
5342
5338
  KeyType["RSA"] = "RSA";
5343
5339
  KeyType["HMAC"] = "HMAC";
5344
5340
  })(KeyType = exports.KeyType || (exports.KeyType = {}));
5345
- /**
5346
- * The types of connectors. This enum is stored as an ordinal on the <code>identities</code> table, order must be maintained.
5347
- *
5348
- * @author Trevor Smith
5349
- */
5350
- var ConnectorType;
5351
- (function (ConnectorType) {
5352
- ConnectorType["FusionAuth"] = "FusionAuth";
5353
- ConnectorType["Generic"] = "Generic";
5354
- ConnectorType["LDAP"] = "LDAP";
5355
- })(ConnectorType = exports.ConnectorType || (exports.ConnectorType = {}));
5356
5341
  /**
5357
5342
  * @author Daniel DeGroff
5358
5343
  */
5359
- var MultiFactorLoginPolicy;
5360
- (function (MultiFactorLoginPolicy) {
5361
- MultiFactorLoginPolicy["Disabled"] = "Disabled";
5362
- MultiFactorLoginPolicy["Enabled"] = "Enabled";
5363
- MultiFactorLoginPolicy["Required"] = "Required";
5364
- })(MultiFactorLoginPolicy = exports.MultiFactorLoginPolicy || (exports.MultiFactorLoginPolicy = {}));
5344
+ var ObjectState;
5345
+ (function (ObjectState) {
5346
+ ObjectState["Active"] = "Active";
5347
+ ObjectState["Inactive"] = "Inactive";
5348
+ ObjectState["PendingDelete"] = "PendingDelete";
5349
+ })(ObjectState = exports.ObjectState || (exports.ObjectState = {}));
5365
5350
  /**
5366
- * Describes the <a href="https://www.w3.org/TR/webauthn-2/#authenticator-attachment-modality">authenticator attachment modality</a>.
5351
+ * Steam API modes.
5367
5352
  *
5368
- * @author Spencer Witt
5353
+ * @author Daniel DeGroff
5369
5354
  */
5370
- var AuthenticatorAttachment;
5371
- (function (AuthenticatorAttachment) {
5372
- AuthenticatorAttachment["platform"] = "platform";
5373
- AuthenticatorAttachment["crossPlatform"] = "crossPlatform";
5374
- })(AuthenticatorAttachment = exports.AuthenticatorAttachment || (exports.AuthenticatorAttachment = {}));
5355
+ var SteamAPIMode;
5356
+ (function (SteamAPIMode) {
5357
+ SteamAPIMode["Public"] = "Public";
5358
+ SteamAPIMode["Partner"] = "Partner";
5359
+ })(SteamAPIMode = exports.SteamAPIMode || (exports.SteamAPIMode = {}));
5375
5360
  /**
5376
- * COSE Elliptic Curve identifier to determine which elliptic curve to use with a given key
5377
- *
5378
- * @author Spencer Witt
5361
+ * @author Daniel DeGroff
5379
5362
  */
5380
- var CoseEllipticCurve;
5381
- (function (CoseEllipticCurve) {
5382
- CoseEllipticCurve["Reserved"] = "Reserved";
5383
- CoseEllipticCurve["P256"] = "P256";
5384
- CoseEllipticCurve["P384"] = "P384";
5385
- CoseEllipticCurve["P521"] = "P521";
5386
- CoseEllipticCurve["X25519"] = "X25519";
5387
- CoseEllipticCurve["X448"] = "X448";
5388
- CoseEllipticCurve["Ed25519"] = "Ed25519";
5389
- CoseEllipticCurve["Ed448"] = "Ed448";
5390
- CoseEllipticCurve["Secp256k1"] = "Secp256k1";
5391
- })(CoseEllipticCurve = exports.CoseEllipticCurve || (exports.CoseEllipticCurve = {}));
5392
- var LoginIdType;
5393
- (function (LoginIdType) {
5394
- LoginIdType["email"] = "email";
5395
- LoginIdType["username"] = "username";
5396
- })(LoginIdType = exports.LoginIdType || (exports.LoginIdType = {}));
5397
- var RegistrationType;
5398
- (function (RegistrationType) {
5399
- RegistrationType["basic"] = "basic";
5400
- RegistrationType["advanced"] = "advanced";
5401
- })(RegistrationType = exports.RegistrationType || (exports.RegistrationType = {}));
5363
+ var IdentityProviderType;
5364
+ (function (IdentityProviderType) {
5365
+ IdentityProviderType["Apple"] = "Apple";
5366
+ IdentityProviderType["EpicGames"] = "EpicGames";
5367
+ IdentityProviderType["ExternalJWT"] = "ExternalJWT";
5368
+ IdentityProviderType["Facebook"] = "Facebook";
5369
+ IdentityProviderType["Google"] = "Google";
5370
+ IdentityProviderType["HYPR"] = "HYPR";
5371
+ IdentityProviderType["LinkedIn"] = "LinkedIn";
5372
+ IdentityProviderType["Nintendo"] = "Nintendo";
5373
+ IdentityProviderType["OpenIDConnect"] = "OpenIDConnect";
5374
+ IdentityProviderType["SAMLv2"] = "SAMLv2";
5375
+ IdentityProviderType["SAMLv2IdPInitiated"] = "SAMLv2IdPInitiated";
5376
+ IdentityProviderType["SonyPSN"] = "SonyPSN";
5377
+ IdentityProviderType["Steam"] = "Steam";
5378
+ IdentityProviderType["Twitch"] = "Twitch";
5379
+ IdentityProviderType["Twitter"] = "Twitter";
5380
+ IdentityProviderType["Xbox"] = "Xbox";
5381
+ })(IdentityProviderType = exports.IdentityProviderType || (exports.IdentityProviderType = {}));
5402
5382
  /**
5403
5383
  * @author Daniel DeGroff
5404
5384
  */
5405
- var RefreshTokenExpirationPolicy;
5406
- (function (RefreshTokenExpirationPolicy) {
5407
- RefreshTokenExpirationPolicy["Fixed"] = "Fixed";
5408
- RefreshTokenExpirationPolicy["SlidingWindow"] = "SlidingWindow";
5409
- RefreshTokenExpirationPolicy["SlidingWindowWithMaximumLifetime"] = "SlidingWindowWithMaximumLifetime";
5410
- })(RefreshTokenExpirationPolicy = exports.RefreshTokenExpirationPolicy || (exports.RefreshTokenExpirationPolicy = {}));
5385
+ var VerificationStrategy;
5386
+ (function (VerificationStrategy) {
5387
+ VerificationStrategy["ClickableLink"] = "ClickableLink";
5388
+ VerificationStrategy["FormField"] = "FormField";
5389
+ })(VerificationStrategy = exports.VerificationStrategy || (exports.VerificationStrategy = {}));
5411
5390
  /**
5412
5391
  * @author Daniel DeGroff
5413
5392
  */
5414
- var UnverifiedBehavior;
5415
- (function (UnverifiedBehavior) {
5416
- UnverifiedBehavior["Allow"] = "Allow";
5417
- UnverifiedBehavior["Gated"] = "Gated";
5418
- })(UnverifiedBehavior = exports.UnverifiedBehavior || (exports.UnverifiedBehavior = {}));
5393
+ var BreachedPasswordStatus;
5394
+ (function (BreachedPasswordStatus) {
5395
+ BreachedPasswordStatus["None"] = "None";
5396
+ BreachedPasswordStatus["ExactMatch"] = "ExactMatch";
5397
+ BreachedPasswordStatus["SubAddressMatch"] = "SubAddressMatch";
5398
+ BreachedPasswordStatus["PasswordOnly"] = "PasswordOnly";
5399
+ BreachedPasswordStatus["CommonPassword"] = "CommonPassword";
5400
+ })(BreachedPasswordStatus = exports.BreachedPasswordStatus || (exports.BreachedPasswordStatus = {}));
5401
+ var TOTPAlgorithm;
5402
+ (function (TOTPAlgorithm) {
5403
+ TOTPAlgorithm["HmacSHA1"] = "HmacSHA1";
5404
+ TOTPAlgorithm["HmacSHA256"] = "HmacSHA256";
5405
+ TOTPAlgorithm["HmacSHA512"] = "HmacSHA512";
5406
+ })(TOTPAlgorithm = exports.TOTPAlgorithm || (exports.TOTPAlgorithm = {}));
5419
5407
  /**
5420
- * The phases of a time-based user action.
5408
+ * XML canonicalization method enumeration. This is used for the IdP and SP side of FusionAuth SAML.
5421
5409
  *
5422
5410
  * @author Brian Pontarelli
5423
5411
  */
5424
- var UserActionPhase;
5425
- (function (UserActionPhase) {
5426
- UserActionPhase["start"] = "start";
5427
- UserActionPhase["modify"] = "modify";
5428
- UserActionPhase["cancel"] = "cancel";
5429
- UserActionPhase["end"] = "end";
5430
- })(UserActionPhase = exports.UserActionPhase || (exports.UserActionPhase = {}));
5412
+ var CanonicalizationMethod;
5413
+ (function (CanonicalizationMethod) {
5414
+ CanonicalizationMethod["exclusive"] = "exclusive";
5415
+ CanonicalizationMethod["exclusive_with_comments"] = "exclusive_with_comments";
5416
+ CanonicalizationMethod["inclusive"] = "inclusive";
5417
+ CanonicalizationMethod["inclusive_with_comments"] = "inclusive_with_comments";
5418
+ })(CanonicalizationMethod = exports.CanonicalizationMethod || (exports.CanonicalizationMethod = {}));
5419
+ /**
5420
+ * @author Trevor Smith
5421
+ */
5422
+ var ChangePasswordReason;
5423
+ (function (ChangePasswordReason) {
5424
+ ChangePasswordReason["Administrative"] = "Administrative";
5425
+ ChangePasswordReason["Breached"] = "Breached";
5426
+ ChangePasswordReason["Expired"] = "Expired";
5427
+ ChangePasswordReason["Validation"] = "Validation";
5428
+ })(ChangePasswordReason = exports.ChangePasswordReason || (exports.ChangePasswordReason = {}));
5429
+ /**
5430
+ * Models the event types that FusionAuth produces.
5431
+ *
5432
+ * @author Brian Pontarelli
5433
+ */
5434
+ var EventType;
5435
+ (function (EventType) {
5436
+ EventType["JWTPublicKeyUpdate"] = "jwt.public-key.update";
5437
+ EventType["JWTRefreshTokenRevoke"] = "jwt.refresh-token.revoke";
5438
+ EventType["JWTRefresh"] = "jwt.refresh";
5439
+ EventType["AuditLogCreate"] = "audit-log.create";
5440
+ EventType["EventLogCreate"] = "event-log.create";
5441
+ EventType["KickstartSuccess"] = "kickstart.success";
5442
+ EventType["GroupCreate"] = "group.create";
5443
+ EventType["GroupCreateComplete"] = "group.create.complete";
5444
+ EventType["GroupDelete"] = "group.delete";
5445
+ EventType["GroupDeleteComplete"] = "group.delete.complete";
5446
+ EventType["GroupMemberAdd"] = "group.member.add";
5447
+ EventType["GroupMemberAddComplete"] = "group.member.add.complete";
5448
+ EventType["GroupMemberRemove"] = "group.member.remove";
5449
+ EventType["GroupMemberRemoveComplete"] = "group.member.remove.complete";
5450
+ EventType["GroupMemberUpdate"] = "group.member.update";
5451
+ EventType["GroupMemberUpdateComplete"] = "group.member.update.complete";
5452
+ EventType["GroupUpdate"] = "group.update";
5453
+ EventType["GroupUpdateComplete"] = "group.update.complete";
5454
+ EventType["UserAction"] = "user.action";
5455
+ EventType["UserBulkCreate"] = "user.bulk.create";
5456
+ EventType["UserCreate"] = "user.create";
5457
+ EventType["UserCreateComplete"] = "user.create.complete";
5458
+ EventType["UserDeactivate"] = "user.deactivate";
5459
+ EventType["UserDelete"] = "user.delete";
5460
+ EventType["UserDeleteComplete"] = "user.delete.complete";
5461
+ EventType["UserEmailUpdate"] = "user.email.update";
5462
+ EventType["UserEmailVerified"] = "user.email.verified";
5463
+ EventType["UserIdentityProviderLink"] = "user.identity-provider.link";
5464
+ EventType["UserIdentityProviderUnlink"] = "user.identity-provider.unlink";
5465
+ EventType["UserLoginIdDuplicateOnCreate"] = "user.loginId.duplicate.create";
5466
+ EventType["UserLoginIdDuplicateOnUpdate"] = "user.loginId.duplicate.update";
5467
+ EventType["UserLoginFailed"] = "user.login.failed";
5468
+ EventType["UserLoginNewDevice"] = "user.login.new-device";
5469
+ EventType["UserLoginSuccess"] = "user.login.success";
5470
+ EventType["UserLoginSuspicious"] = "user.login.suspicious";
5471
+ EventType["UserPasswordBreach"] = "user.password.breach";
5472
+ EventType["UserPasswordResetSend"] = "user.password.reset.send";
5473
+ EventType["UserPasswordResetStart"] = "user.password.reset.start";
5474
+ EventType["UserPasswordResetSuccess"] = "user.password.reset.success";
5475
+ EventType["UserPasswordUpdate"] = "user.password.update";
5476
+ EventType["UserReactivate"] = "user.reactivate";
5477
+ EventType["UserRegistrationCreate"] = "user.registration.create";
5478
+ EventType["UserRegistrationCreateComplete"] = "user.registration.create.complete";
5479
+ EventType["UserRegistrationDelete"] = "user.registration.delete";
5480
+ EventType["UserRegistrationDeleteComplete"] = "user.registration.delete.complete";
5481
+ EventType["UserRegistrationUpdate"] = "user.registration.update";
5482
+ EventType["UserRegistrationUpdateComplete"] = "user.registration.update.complete";
5483
+ EventType["UserRegistrationVerified"] = "user.registration.verified";
5484
+ EventType["UserTwoFactorMethodAdd"] = "user.two-factor.method.add";
5485
+ EventType["UserTwoFactorMethodRemove"] = "user.two-factor.method.remove";
5486
+ EventType["UserUpdate"] = "user.update";
5487
+ EventType["UserUpdateComplete"] = "user.update.complete";
5488
+ EventType["Test"] = "test";
5489
+ })(EventType = exports.EventType || (exports.EventType = {}));
5490
+ /**
5491
+ * @author Brett Pontarelli
5492
+ */
5493
+ var IdentityProviderLoginMethod;
5494
+ (function (IdentityProviderLoginMethod) {
5495
+ IdentityProviderLoginMethod["UsePopup"] = "UsePopup";
5496
+ IdentityProviderLoginMethod["UseRedirect"] = "UseRedirect";
5497
+ IdentityProviderLoginMethod["UseVendorJavaScript"] = "UseVendorJavaScript";
5498
+ })(IdentityProviderLoginMethod = exports.IdentityProviderLoginMethod || (exports.IdentityProviderLoginMethod = {}));
5499
+ /**
5500
+ * @author Brett Pontarelli
5501
+ */
5502
+ var AuthenticationThreats;
5503
+ (function (AuthenticationThreats) {
5504
+ AuthenticationThreats["ImpossibleTravel"] = "ImpossibleTravel";
5505
+ })(AuthenticationThreats = exports.AuthenticationThreats || (exports.AuthenticationThreats = {}));
5431
5506
  /**
5432
5507
  * @author Daniel DeGroff
5433
5508
  */
5434
- var LambdaEngineType;
5435
- (function (LambdaEngineType) {
5436
- LambdaEngineType["GraalJS"] = "GraalJS";
5437
- LambdaEngineType["Nashorn"] = "Nashorn";
5438
- })(LambdaEngineType = exports.LambdaEngineType || (exports.LambdaEngineType = {}));
5439
- var OAuthErrorType;
5440
- (function (OAuthErrorType) {
5441
- OAuthErrorType["invalid_request"] = "invalid_request";
5442
- OAuthErrorType["invalid_client"] = "invalid_client";
5443
- OAuthErrorType["invalid_grant"] = "invalid_grant";
5444
- OAuthErrorType["invalid_token"] = "invalid_token";
5445
- OAuthErrorType["unauthorized_client"] = "unauthorized_client";
5446
- OAuthErrorType["invalid_scope"] = "invalid_scope";
5447
- OAuthErrorType["server_error"] = "server_error";
5448
- OAuthErrorType["unsupported_grant_type"] = "unsupported_grant_type";
5449
- OAuthErrorType["unsupported_response_type"] = "unsupported_response_type";
5450
- OAuthErrorType["change_password_required"] = "change_password_required";
5451
- OAuthErrorType["not_licensed"] = "not_licensed";
5452
- OAuthErrorType["two_factor_required"] = "two_factor_required";
5453
- OAuthErrorType["authorization_pending"] = "authorization_pending";
5454
- OAuthErrorType["expired_token"] = "expired_token";
5455
- OAuthErrorType["unsupported_token_type"] = "unsupported_token_type";
5456
- })(OAuthErrorType = exports.OAuthErrorType || (exports.OAuthErrorType = {}));
5509
+ var SystemTrustedProxyConfigurationPolicy;
5510
+ (function (SystemTrustedProxyConfigurationPolicy) {
5511
+ SystemTrustedProxyConfigurationPolicy["All"] = "All";
5512
+ SystemTrustedProxyConfigurationPolicy["OnlyConfigured"] = "OnlyConfigured";
5513
+ })(SystemTrustedProxyConfigurationPolicy = exports.SystemTrustedProxyConfigurationPolicy || (exports.SystemTrustedProxyConfigurationPolicy = {}));
5514
+ var ClientAuthenticationMethod;
5515
+ (function (ClientAuthenticationMethod) {
5516
+ ClientAuthenticationMethod["none"] = "none";
5517
+ ClientAuthenticationMethod["client_secret_basic"] = "client_secret_basic";
5518
+ ClientAuthenticationMethod["client_secret_post"] = "client_secret_post";
5519
+ })(ClientAuthenticationMethod = exports.ClientAuthenticationMethod || (exports.ClientAuthenticationMethod = {}));
5457
5520
  /**
5521
+ * Models a consent.
5522
+ *
5458
5523
  * @author Daniel DeGroff
5459
5524
  */
5460
- var Sort;
5461
- (function (Sort) {
5462
- Sort["asc"] = "asc";
5463
- Sort["desc"] = "desc";
5464
- })(Sort = exports.Sort || (exports.Sort = {}));
5465
- var SAMLLogoutBehavior;
5466
- (function (SAMLLogoutBehavior) {
5467
- SAMLLogoutBehavior["AllParticipants"] = "AllParticipants";
5468
- SAMLLogoutBehavior["OnlyOriginator"] = "OnlyOriginator";
5469
- })(SAMLLogoutBehavior = exports.SAMLLogoutBehavior || (exports.SAMLLogoutBehavior = {}));
5525
+ var ConsentStatus;
5526
+ (function (ConsentStatus) {
5527
+ ConsentStatus["Active"] = "Active";
5528
+ ConsentStatus["Revoked"] = "Revoked";
5529
+ })(ConsentStatus = exports.ConsentStatus || (exports.ConsentStatus = {}));
5470
5530
  /**
5471
- * The IdP behavior when no user link has been made yet.
5472
- *
5473
5531
  * @author Daniel DeGroff
5474
5532
  */
5475
- var IdentityProviderLinkingStrategy;
5476
- (function (IdentityProviderLinkingStrategy) {
5477
- IdentityProviderLinkingStrategy["CreatePendingLink"] = "CreatePendingLink";
5478
- IdentityProviderLinkingStrategy["Disabled"] = "Disabled";
5479
- IdentityProviderLinkingStrategy["LinkAnonymously"] = "LinkAnonymously";
5480
- IdentityProviderLinkingStrategy["LinkByEmail"] = "LinkByEmail";
5481
- IdentityProviderLinkingStrategy["LinkByEmailForExistingUser"] = "LinkByEmailForExistingUser";
5482
- IdentityProviderLinkingStrategy["LinkByUsername"] = "LinkByUsername";
5483
- IdentityProviderLinkingStrategy["LinkByUsernameForExistingUser"] = "LinkByUsernameForExistingUser";
5484
- IdentityProviderLinkingStrategy["Unsupported"] = "Unsupported";
5485
- })(IdentityProviderLinkingStrategy = exports.IdentityProviderLinkingStrategy || (exports.IdentityProviderLinkingStrategy = {}));
5486
- var BreachAction;
5487
- (function (BreachAction) {
5488
- BreachAction["Off"] = "Off";
5489
- BreachAction["RecordOnly"] = "RecordOnly";
5490
- BreachAction["NotifyUser"] = "NotifyUser";
5491
- BreachAction["RequireChange"] = "RequireChange";
5492
- })(BreachAction = exports.BreachAction || (exports.BreachAction = {}));
5533
+ var ApplicationMultiFactorTrustPolicy;
5534
+ (function (ApplicationMultiFactorTrustPolicy) {
5535
+ ApplicationMultiFactorTrustPolicy["Any"] = "Any";
5536
+ ApplicationMultiFactorTrustPolicy["This"] = "This";
5537
+ ApplicationMultiFactorTrustPolicy["None"] = "None";
5538
+ })(ApplicationMultiFactorTrustPolicy = exports.ApplicationMultiFactorTrustPolicy || (exports.ApplicationMultiFactorTrustPolicy = {}));
5493
5539
  /**
5494
- * Event Log Type
5495
- *
5496
- * @author Daniel DeGroff
5540
+ * @author Brett Pontarelli
5497
5541
  */
5498
- var EventLogType;
5499
- (function (EventLogType) {
5500
- EventLogType["Information"] = "Information";
5501
- EventLogType["Debug"] = "Debug";
5502
- EventLogType["Error"] = "Error";
5503
- })(EventLogType = exports.EventLogType || (exports.EventLogType = {}));
5542
+ var CaptchaMethod;
5543
+ (function (CaptchaMethod) {
5544
+ CaptchaMethod["GoogleRecaptchaV2"] = "GoogleRecaptchaV2";
5545
+ CaptchaMethod["GoogleRecaptchaV3"] = "GoogleRecaptchaV3";
5546
+ CaptchaMethod["HCaptcha"] = "HCaptcha";
5547
+ CaptchaMethod["HCaptchaEnterprise"] = "HCaptchaEnterprise";
5548
+ })(CaptchaMethod = exports.CaptchaMethod || (exports.CaptchaMethod = {}));
5504
5549
  /**
5505
5550
  * Available JSON Web Algorithms (JWA) as described in RFC 7518 available for this JWT implementation.
5506
5551
  *
@@ -5523,244 +5568,225 @@ var Algorithm;
5523
5568
  Algorithm["none"] = "none";
5524
5569
  })(Algorithm = exports.Algorithm || (exports.Algorithm = {}));
5525
5570
  /**
5526
- * The use type of a key.
5571
+ * Status for content like usernames, profile attributes, etc.
5527
5572
  *
5528
- * @author Daniel DeGroff
5573
+ * @author Brian Pontarelli
5529
5574
  */
5530
- var KeyUse;
5531
- (function (KeyUse) {
5532
- KeyUse["SignOnly"] = "SignOnly";
5533
- KeyUse["SignAndVerify"] = "SignAndVerify";
5534
- KeyUse["VerifyOnly"] = "VerifyOnly";
5535
- })(KeyUse = exports.KeyUse || (exports.KeyUse = {}));
5536
- var FamilyRole;
5537
- (function (FamilyRole) {
5538
- FamilyRole["Child"] = "Child";
5539
- FamilyRole["Teen"] = "Teen";
5540
- FamilyRole["Adult"] = "Adult";
5541
- })(FamilyRole = exports.FamilyRole || (exports.FamilyRole = {}));
5575
+ var ContentStatus;
5576
+ (function (ContentStatus) {
5577
+ ContentStatus["ACTIVE"] = "ACTIVE";
5578
+ ContentStatus["PENDING"] = "PENDING";
5579
+ ContentStatus["REJECTED"] = "REJECTED";
5580
+ })(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
5581
+ var LoginIdType;
5582
+ (function (LoginIdType) {
5583
+ LoginIdType["email"] = "email";
5584
+ LoginIdType["username"] = "username";
5585
+ })(LoginIdType = exports.LoginIdType || (exports.LoginIdType = {}));
5586
+ var RegistrationType;
5587
+ (function (RegistrationType) {
5588
+ RegistrationType["basic"] = "basic";
5589
+ RegistrationType["advanced"] = "advanced";
5590
+ })(RegistrationType = exports.RegistrationType || (exports.RegistrationType = {}));
5591
+ var SAMLLogoutBehavior;
5592
+ (function (SAMLLogoutBehavior) {
5593
+ SAMLLogoutBehavior["AllParticipants"] = "AllParticipants";
5594
+ SAMLLogoutBehavior["OnlyOriginator"] = "OnlyOriginator";
5595
+ })(SAMLLogoutBehavior = exports.SAMLLogoutBehavior || (exports.SAMLLogoutBehavior = {}));
5596
+ var XMLSignatureLocation;
5597
+ (function (XMLSignatureLocation) {
5598
+ XMLSignatureLocation["Assertion"] = "Assertion";
5599
+ XMLSignatureLocation["Response"] = "Response";
5600
+ })(XMLSignatureLocation = exports.XMLSignatureLocation || (exports.XMLSignatureLocation = {}));
5542
5601
  /**
5543
- * The transaction types for Webhooks and other event systems within FusionAuth.
5602
+ * Used to communicate whether and how authenticator attestation should be delivered to the Relying Party
5544
5603
  *
5545
- * @author Brian Pontarelli
5604
+ * @author Spencer Witt
5546
5605
  */
5547
- var TransactionType;
5548
- (function (TransactionType) {
5549
- TransactionType["None"] = "None";
5550
- TransactionType["Any"] = "Any";
5551
- TransactionType["SimpleMajority"] = "SimpleMajority";
5552
- TransactionType["SuperMajority"] = "SuperMajority";
5553
- TransactionType["AbsoluteMajority"] = "AbsoluteMajority";
5554
- })(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
5606
+ var AttestationConveyancePreference;
5607
+ (function (AttestationConveyancePreference) {
5608
+ AttestationConveyancePreference["none"] = "none";
5609
+ AttestationConveyancePreference["indirect"] = "indirect";
5610
+ AttestationConveyancePreference["direct"] = "direct";
5611
+ AttestationConveyancePreference["enterprise"] = "enterprise";
5612
+ })(AttestationConveyancePreference = exports.AttestationConveyancePreference || (exports.AttestationConveyancePreference = {}));
5555
5613
  /**
5556
- * Used to express whether the Relying Party requires <a href="https://www.w3.org/TR/webauthn-2/#user-verification">user verification</a> for the
5557
- * current operation.
5614
+ * Used to indicate what type of attestation was included in the authenticator response for a given WebAuthn credential at the time it was created
5558
5615
  *
5559
5616
  * @author Spencer Witt
5560
5617
  */
5561
- var UserVerificationRequirement;
5562
- (function (UserVerificationRequirement) {
5563
- UserVerificationRequirement["required"] = "required";
5564
- UserVerificationRequirement["preferred"] = "preferred";
5565
- UserVerificationRequirement["discouraged"] = "discouraged";
5566
- })(UserVerificationRequirement = exports.UserVerificationRequirement || (exports.UserVerificationRequirement = {}));
5618
+ var AttestationType;
5619
+ (function (AttestationType) {
5620
+ AttestationType["basic"] = "basic";
5621
+ AttestationType["self"] = "self";
5622
+ AttestationType["attestationCa"] = "attestationCa";
5623
+ AttestationType["anonymizationCa"] = "anonymizationCa";
5624
+ AttestationType["none"] = "none";
5625
+ })(AttestationType = exports.AttestationType || (exports.AttestationType = {}));
5567
5626
  /**
5568
- * Steam API modes.
5627
+ * Describes the <a href="https://www.w3.org/TR/webauthn-2/#authenticator-attachment-modality">authenticator attachment modality</a>.
5569
5628
  *
5570
- * @author Daniel DeGroff
5629
+ * @author Spencer Witt
5571
5630
  */
5572
- var SteamAPIMode;
5573
- (function (SteamAPIMode) {
5574
- SteamAPIMode["Public"] = "Public";
5575
- SteamAPIMode["Partner"] = "Partner";
5576
- })(SteamAPIMode = exports.SteamAPIMode || (exports.SteamAPIMode = {}));
5631
+ var AuthenticatorAttachment;
5632
+ (function (AuthenticatorAttachment) {
5633
+ AuthenticatorAttachment["platform"] = "platform";
5634
+ AuthenticatorAttachment["crossPlatform"] = "crossPlatform";
5635
+ })(AuthenticatorAttachment = exports.AuthenticatorAttachment || (exports.AuthenticatorAttachment = {}));
5577
5636
  /**
5578
- * @author Trevor Smith
5637
+ * Describes the authenticator attachment modality preference for a WebAuthn workflow. See {@link AuthenticatorAttachment}
5638
+ *
5639
+ * @author Spencer Witt
5579
5640
  */
5580
- var ChangePasswordReason;
5581
- (function (ChangePasswordReason) {
5582
- ChangePasswordReason["Administrative"] = "Administrative";
5583
- ChangePasswordReason["Breached"] = "Breached";
5584
- ChangePasswordReason["Expired"] = "Expired";
5585
- ChangePasswordReason["Validation"] = "Validation";
5586
- })(ChangePasswordReason = exports.ChangePasswordReason || (exports.ChangePasswordReason = {}));
5587
- var EmailSecurityType;
5588
- (function (EmailSecurityType) {
5589
- EmailSecurityType["NONE"] = "NONE";
5590
- EmailSecurityType["SSL"] = "SSL";
5591
- EmailSecurityType["TLS"] = "TLS";
5592
- })(EmailSecurityType = exports.EmailSecurityType || (exports.EmailSecurityType = {}));
5641
+ var AuthenticatorAttachmentPreference;
5642
+ (function (AuthenticatorAttachmentPreference) {
5643
+ AuthenticatorAttachmentPreference["any"] = "any";
5644
+ AuthenticatorAttachmentPreference["platform"] = "platform";
5645
+ AuthenticatorAttachmentPreference["crossPlatform"] = "crossPlatform";
5646
+ })(AuthenticatorAttachmentPreference = exports.AuthenticatorAttachmentPreference || (exports.AuthenticatorAttachmentPreference = {}));
5593
5647
  /**
5594
- * @author Brian Pontarelli
5648
+ * A number identifying a cryptographic algorithm. Values should be registered with the <a
5649
+ * href="https://www.iana.org/assignments/cose/cose.xhtml#algorithms">IANA COSE Algorithms registry</a>
5650
+ *
5651
+ * @author Spencer Witt
5595
5652
  */
5596
- var ExpiryUnit;
5597
- (function (ExpiryUnit) {
5598
- ExpiryUnit["MINUTES"] = "MINUTES";
5599
- ExpiryUnit["HOURS"] = "HOURS";
5600
- ExpiryUnit["DAYS"] = "DAYS";
5601
- ExpiryUnit["WEEKS"] = "WEEKS";
5602
- ExpiryUnit["MONTHS"] = "MONTHS";
5603
- ExpiryUnit["YEARS"] = "YEARS";
5604
- })(ExpiryUnit = exports.ExpiryUnit || (exports.ExpiryUnit = {}));
5653
+ var CoseAlgorithmIdentifier;
5654
+ (function (CoseAlgorithmIdentifier) {
5655
+ CoseAlgorithmIdentifier["ES256"] = "SHA256withECDSA";
5656
+ CoseAlgorithmIdentifier["ES384"] = "SHA384withECDSA";
5657
+ CoseAlgorithmIdentifier["ES512"] = "SHA512withECDSA";
5658
+ CoseAlgorithmIdentifier["RS256"] = "SHA256withRSA";
5659
+ CoseAlgorithmIdentifier["RS384"] = "SHA384withRSA";
5660
+ CoseAlgorithmIdentifier["RS512"] = "SHA512withRSA";
5661
+ CoseAlgorithmIdentifier["PS256"] = "SHA-256";
5662
+ CoseAlgorithmIdentifier["PS384"] = "SHA-384";
5663
+ CoseAlgorithmIdentifier["PS512"] = "SHA-512";
5664
+ })(CoseAlgorithmIdentifier = exports.CoseAlgorithmIdentifier || (exports.CoseAlgorithmIdentifier = {}));
5665
+ /**
5666
+ * COSE Elliptic Curve identifier to determine which elliptic curve to use with a given key
5667
+ *
5668
+ * @author Spencer Witt
5669
+ */
5670
+ var CoseEllipticCurve;
5671
+ (function (CoseEllipticCurve) {
5672
+ CoseEllipticCurve["Reserved"] = "Reserved";
5673
+ CoseEllipticCurve["P256"] = "P256";
5674
+ CoseEllipticCurve["P384"] = "P384";
5675
+ CoseEllipticCurve["P521"] = "P521";
5676
+ CoseEllipticCurve["X25519"] = "X25519";
5677
+ CoseEllipticCurve["X448"] = "X448";
5678
+ CoseEllipticCurve["Ed25519"] = "Ed25519";
5679
+ CoseEllipticCurve["Ed448"] = "Ed448";
5680
+ CoseEllipticCurve["Secp256k1"] = "Secp256k1";
5681
+ })(CoseEllipticCurve = exports.CoseEllipticCurve || (exports.CoseEllipticCurve = {}));
5682
+ /**
5683
+ * COSE key type
5684
+ *
5685
+ * @author Spencer Witt
5686
+ */
5687
+ var CoseKeyType;
5688
+ (function (CoseKeyType) {
5689
+ CoseKeyType["Reserved"] = "0";
5690
+ CoseKeyType["OKP"] = "1";
5691
+ CoseKeyType["EC2"] = "2";
5692
+ CoseKeyType["RSA"] = "3";
5693
+ CoseKeyType["Symmetric"] = "4";
5694
+ })(CoseKeyType = exports.CoseKeyType || (exports.CoseKeyType = {}));
5605
5695
  /**
5606
- * @author Brett Guy
5696
+ * Defines valid credential types. This is an extension point in the WebAuthn spec. The only defined value at this time is "public-key"
5697
+ *
5698
+ * @author Spencer Witt
5607
5699
  */
5608
- var MessengerType;
5609
- (function (MessengerType) {
5610
- MessengerType["Generic"] = "Generic";
5611
- MessengerType["Kafka"] = "Kafka";
5612
- MessengerType["Twilio"] = "Twilio";
5613
- })(MessengerType = exports.MessengerType || (exports.MessengerType = {}));
5700
+ var PublicKeyCredentialType;
5701
+ (function (PublicKeyCredentialType) {
5702
+ PublicKeyCredentialType["publicKey"] = "public-key";
5703
+ })(PublicKeyCredentialType = exports.PublicKeyCredentialType || (exports.PublicKeyCredentialType = {}));
5614
5704
  /**
5615
- * @author Daniel DeGroff
5705
+ * Describes the Relying Party's requirements for <a href="https://www.w3.org/TR/webauthn-2/#client-side-discoverable-credential">client-side
5706
+ * discoverable credentials</a> (formerly known as "resident keys")
5707
+ *
5708
+ * @author Spencer Witt
5616
5709
  */
5617
- var IdentityProviderType;
5618
- (function (IdentityProviderType) {
5619
- IdentityProviderType["Apple"] = "Apple";
5620
- IdentityProviderType["EpicGames"] = "EpicGames";
5621
- IdentityProviderType["ExternalJWT"] = "ExternalJWT";
5622
- IdentityProviderType["Facebook"] = "Facebook";
5623
- IdentityProviderType["Google"] = "Google";
5624
- IdentityProviderType["HYPR"] = "HYPR";
5625
- IdentityProviderType["LinkedIn"] = "LinkedIn";
5626
- IdentityProviderType["Nintendo"] = "Nintendo";
5627
- IdentityProviderType["OpenIDConnect"] = "OpenIDConnect";
5628
- IdentityProviderType["SAMLv2"] = "SAMLv2";
5629
- IdentityProviderType["SAMLv2IdPInitiated"] = "SAMLv2IdPInitiated";
5630
- IdentityProviderType["SonyPSN"] = "SonyPSN";
5631
- IdentityProviderType["Steam"] = "Steam";
5632
- IdentityProviderType["Twitch"] = "Twitch";
5633
- IdentityProviderType["Twitter"] = "Twitter";
5634
- IdentityProviderType["Xbox"] = "Xbox";
5635
- })(IdentityProviderType = exports.IdentityProviderType || (exports.IdentityProviderType = {}));
5710
+ var ResidentKeyRequirement;
5711
+ (function (ResidentKeyRequirement) {
5712
+ ResidentKeyRequirement["discouraged"] = "discouraged";
5713
+ ResidentKeyRequirement["preferred"] = "preferred";
5714
+ ResidentKeyRequirement["required"] = "required";
5715
+ })(ResidentKeyRequirement = exports.ResidentKeyRequirement || (exports.ResidentKeyRequirement = {}));
5636
5716
  /**
5637
- * Models the event types that FusionAuth produces.
5717
+ * Used to express whether the Relying Party requires <a href="https://www.w3.org/TR/webauthn-2/#user-verification">user verification</a> for the
5718
+ * current operation.
5638
5719
  *
5639
- * @author Brian Pontarelli
5720
+ * @author Spencer Witt
5640
5721
  */
5641
- var EventType;
5642
- (function (EventType) {
5643
- EventType["JWTPublicKeyUpdate"] = "jwt.public-key.update";
5644
- EventType["JWTRefreshTokenRevoke"] = "jwt.refresh-token.revoke";
5645
- EventType["JWTRefresh"] = "jwt.refresh";
5646
- EventType["AuditLogCreate"] = "audit-log.create";
5647
- EventType["EventLogCreate"] = "event-log.create";
5648
- EventType["KickstartSuccess"] = "kickstart.success";
5649
- EventType["GroupCreate"] = "group.create";
5650
- EventType["GroupCreateComplete"] = "group.create.complete";
5651
- EventType["GroupDelete"] = "group.delete";
5652
- EventType["GroupDeleteComplete"] = "group.delete.complete";
5653
- EventType["GroupMemberAdd"] = "group.member.add";
5654
- EventType["GroupMemberAddComplete"] = "group.member.add.complete";
5655
- EventType["GroupMemberRemove"] = "group.member.remove";
5656
- EventType["GroupMemberRemoveComplete"] = "group.member.remove.complete";
5657
- EventType["GroupMemberUpdate"] = "group.member.update";
5658
- EventType["GroupMemberUpdateComplete"] = "group.member.update.complete";
5659
- EventType["GroupUpdate"] = "group.update";
5660
- EventType["GroupUpdateComplete"] = "group.update.complete";
5661
- EventType["UserAction"] = "user.action";
5662
- EventType["UserBulkCreate"] = "user.bulk.create";
5663
- EventType["UserCreate"] = "user.create";
5664
- EventType["UserCreateComplete"] = "user.create.complete";
5665
- EventType["UserDeactivate"] = "user.deactivate";
5666
- EventType["UserDelete"] = "user.delete";
5667
- EventType["UserDeleteComplete"] = "user.delete.complete";
5668
- EventType["UserEmailUpdate"] = "user.email.update";
5669
- EventType["UserEmailVerified"] = "user.email.verified";
5670
- EventType["UserIdentityProviderLink"] = "user.identity-provider.link";
5671
- EventType["UserIdentityProviderUnlink"] = "user.identity-provider.unlink";
5672
- EventType["UserLoginIdDuplicateOnCreate"] = "user.loginId.duplicate.create";
5673
- EventType["UserLoginIdDuplicateOnUpdate"] = "user.loginId.duplicate.update";
5674
- EventType["UserLoginFailed"] = "user.login.failed";
5675
- EventType["UserLoginNewDevice"] = "user.login.new-device";
5676
- EventType["UserLoginSuccess"] = "user.login.success";
5677
- EventType["UserLoginSuspicious"] = "user.login.suspicious";
5678
- EventType["UserPasswordBreach"] = "user.password.breach";
5679
- EventType["UserPasswordResetSend"] = "user.password.reset.send";
5680
- EventType["UserPasswordResetStart"] = "user.password.reset.start";
5681
- EventType["UserPasswordResetSuccess"] = "user.password.reset.success";
5682
- EventType["UserPasswordUpdate"] = "user.password.update";
5683
- EventType["UserReactivate"] = "user.reactivate";
5684
- EventType["UserRegistrationCreate"] = "user.registration.create";
5685
- EventType["UserRegistrationCreateComplete"] = "user.registration.create.complete";
5686
- EventType["UserRegistrationDelete"] = "user.registration.delete";
5687
- EventType["UserRegistrationDeleteComplete"] = "user.registration.delete.complete";
5688
- EventType["UserRegistrationUpdate"] = "user.registration.update";
5689
- EventType["UserRegistrationUpdateComplete"] = "user.registration.update.complete";
5690
- EventType["UserRegistrationVerified"] = "user.registration.verified";
5691
- EventType["UserTwoFactorMethodAdd"] = "user.two-factor.method.add";
5692
- EventType["UserTwoFactorMethodRemove"] = "user.two-factor.method.remove";
5693
- EventType["UserUpdate"] = "user.update";
5694
- EventType["UserUpdateComplete"] = "user.update.complete";
5695
- EventType["Test"] = "test";
5696
- })(EventType = exports.EventType || (exports.EventType = {}));
5697
- var TOTPAlgorithm;
5698
- (function (TOTPAlgorithm) {
5699
- TOTPAlgorithm["HmacSHA1"] = "HmacSHA1";
5700
- TOTPAlgorithm["HmacSHA256"] = "HmacSHA256";
5701
- TOTPAlgorithm["HmacSHA512"] = "HmacSHA512";
5702
- })(TOTPAlgorithm = exports.TOTPAlgorithm || (exports.TOTPAlgorithm = {}));
5703
- var LDAPSecurityMethod;
5704
- (function (LDAPSecurityMethod) {
5705
- LDAPSecurityMethod["None"] = "None";
5706
- LDAPSecurityMethod["LDAPS"] = "LDAPS";
5707
- LDAPSecurityMethod["StartTLS"] = "StartTLS";
5708
- })(LDAPSecurityMethod = exports.LDAPSecurityMethod || (exports.LDAPSecurityMethod = {}));
5709
- var UniqueUsernameStrategy;
5710
- (function (UniqueUsernameStrategy) {
5711
- UniqueUsernameStrategy["Always"] = "Always";
5712
- UniqueUsernameStrategy["OnCollision"] = "OnCollision";
5713
- })(UniqueUsernameStrategy = exports.UniqueUsernameStrategy || (exports.UniqueUsernameStrategy = {}));
5722
+ var UserVerificationRequirement;
5723
+ (function (UserVerificationRequirement) {
5724
+ UserVerificationRequirement["required"] = "required";
5725
+ UserVerificationRequirement["preferred"] = "preferred";
5726
+ UserVerificationRequirement["discouraged"] = "discouraged";
5727
+ })(UserVerificationRequirement = exports.UserVerificationRequirement || (exports.UserVerificationRequirement = {}));
5714
5728
  /**
5715
- * @author Daniel DeGroff
5729
+ * Identifies the WebAuthn workflow. This will affect the parameters used for credential creation
5730
+ * and request based on the Tenant configuration.
5731
+ *
5732
+ * @author Spencer Witt
5716
5733
  */
5717
- var VerificationStrategy;
5718
- (function (VerificationStrategy) {
5719
- VerificationStrategy["ClickableLink"] = "ClickableLink";
5720
- VerificationStrategy["FormField"] = "FormField";
5721
- })(VerificationStrategy = exports.VerificationStrategy || (exports.VerificationStrategy = {}));
5734
+ var WebAuthnWorkflow;
5735
+ (function (WebAuthnWorkflow) {
5736
+ WebAuthnWorkflow["bootstrap"] = "bootstrap";
5737
+ WebAuthnWorkflow["general"] = "general";
5738
+ WebAuthnWorkflow["reauthentication"] = "reauthentication";
5739
+ })(WebAuthnWorkflow = exports.WebAuthnWorkflow || (exports.WebAuthnWorkflow = {}));
5722
5740
  /**
5723
5741
  * @author Daniel DeGroff
5724
5742
  */
5725
- var SecureGeneratorType;
5726
- (function (SecureGeneratorType) {
5727
- SecureGeneratorType["randomDigits"] = "randomDigits";
5728
- SecureGeneratorType["randomBytes"] = "randomBytes";
5729
- SecureGeneratorType["randomAlpha"] = "randomAlpha";
5730
- SecureGeneratorType["randomAlphaNumeric"] = "randomAlphaNumeric";
5731
- })(SecureGeneratorType = exports.SecureGeneratorType || (exports.SecureGeneratorType = {}));
5743
+ var MultiFactorLoginPolicy;
5744
+ (function (MultiFactorLoginPolicy) {
5745
+ MultiFactorLoginPolicy["Disabled"] = "Disabled";
5746
+ MultiFactorLoginPolicy["Enabled"] = "Enabled";
5747
+ MultiFactorLoginPolicy["Required"] = "Required";
5748
+ })(MultiFactorLoginPolicy = exports.MultiFactorLoginPolicy || (exports.MultiFactorLoginPolicy = {}));
5732
5749
  /**
5733
- * XML canonicalization method enumeration. This is used for the IdP and SP side of FusionAuth SAML.
5750
+ * The types of lambdas that indicate how they are invoked by FusionAuth.
5734
5751
  *
5735
5752
  * @author Brian Pontarelli
5736
5753
  */
5737
- var CanonicalizationMethod;
5738
- (function (CanonicalizationMethod) {
5739
- CanonicalizationMethod["exclusive"] = "exclusive";
5740
- CanonicalizationMethod["exclusive_with_comments"] = "exclusive_with_comments";
5741
- CanonicalizationMethod["inclusive"] = "inclusive";
5742
- CanonicalizationMethod["inclusive_with_comments"] = "inclusive_with_comments";
5743
- })(CanonicalizationMethod = exports.CanonicalizationMethod || (exports.CanonicalizationMethod = {}));
5744
- /**
5745
- * @author Daniel DeGroff
5746
- */
5747
- var RateLimitedRequestType;
5748
- (function (RateLimitedRequestType) {
5749
- RateLimitedRequestType["FailedLogin"] = "FailedLogin";
5750
- RateLimitedRequestType["ForgotPassword"] = "ForgotPassword";
5751
- RateLimitedRequestType["SendEmailVerification"] = "SendEmailVerification";
5752
- RateLimitedRequestType["SendPasswordless"] = "SendPasswordless";
5753
- RateLimitedRequestType["SendRegistrationVerification"] = "SendRegistrationVerification";
5754
- RateLimitedRequestType["SendTwoFactor"] = "SendTwoFactor";
5755
- })(RateLimitedRequestType = exports.RateLimitedRequestType || (exports.RateLimitedRequestType = {}));
5754
+ var LambdaType;
5755
+ (function (LambdaType) {
5756
+ LambdaType["JWTPopulate"] = "JWTPopulate";
5757
+ LambdaType["OpenIDReconcile"] = "OpenIDReconcile";
5758
+ LambdaType["SAMLv2Reconcile"] = "SAMLv2Reconcile";
5759
+ LambdaType["SAMLv2Populate"] = "SAMLv2Populate";
5760
+ LambdaType["AppleReconcile"] = "AppleReconcile";
5761
+ LambdaType["ExternalJWTReconcile"] = "ExternalJWTReconcile";
5762
+ LambdaType["FacebookReconcile"] = "FacebookReconcile";
5763
+ LambdaType["GoogleReconcile"] = "GoogleReconcile";
5764
+ LambdaType["HYPRReconcile"] = "HYPRReconcile";
5765
+ LambdaType["TwitterReconcile"] = "TwitterReconcile";
5766
+ LambdaType["LDAPConnectorReconcile"] = "LDAPConnectorReconcile";
5767
+ LambdaType["LinkedInReconcile"] = "LinkedInReconcile";
5768
+ LambdaType["EpicGamesReconcile"] = "EpicGamesReconcile";
5769
+ LambdaType["NintendoReconcile"] = "NintendoReconcile";
5770
+ LambdaType["SonyPSNReconcile"] = "SonyPSNReconcile";
5771
+ LambdaType["SteamReconcile"] = "SteamReconcile";
5772
+ LambdaType["TwitchReconcile"] = "TwitchReconcile";
5773
+ LambdaType["XboxReconcile"] = "XboxReconcile";
5774
+ LambdaType["ClientCredentialsJWTPopulate"] = "ClientCredentialsJWTPopulate";
5775
+ LambdaType["SCIMServerGroupRequestConverter"] = "SCIMServerGroupRequestConverter";
5776
+ LambdaType["SCIMServerGroupResponseConverter"] = "SCIMServerGroupResponseConverter";
5777
+ LambdaType["SCIMServerUserRequestConverter"] = "SCIMServerUserRequestConverter";
5778
+ LambdaType["SCIMServerUserResponseConverter"] = "SCIMServerUserResponseConverter";
5779
+ LambdaType["SelfServiceRegistrationValidation"] = "SelfServiceRegistrationValidation";
5780
+ })(LambdaType = exports.LambdaType || (exports.LambdaType = {}));
5756
5781
  /**
5757
- * @author Matthew Altman
5782
+ * @author Lyle Schemmerling
5758
5783
  */
5759
- var LogoutBehavior;
5760
- (function (LogoutBehavior) {
5761
- LogoutBehavior["RedirectOnly"] = "RedirectOnly";
5762
- LogoutBehavior["AllApplications"] = "AllApplications";
5763
- })(LogoutBehavior = exports.LogoutBehavior || (exports.LogoutBehavior = {}));
5784
+ var SAMLv2DestinationAssertionPolicy;
5785
+ (function (SAMLv2DestinationAssertionPolicy) {
5786
+ SAMLv2DestinationAssertionPolicy["Enabled"] = "Enabled";
5787
+ SAMLv2DestinationAssertionPolicy["Disabled"] = "Disabled";
5788
+ SAMLv2DestinationAssertionPolicy["AllowAlternates"] = "AllowAlternates";
5789
+ })(SAMLv2DestinationAssertionPolicy = exports.SAMLv2DestinationAssertionPolicy || (exports.SAMLv2DestinationAssertionPolicy = {}));
5764
5790
  /**
5765
5791
  * @author Johnathon Wood
5766
5792
  */
@@ -5770,17 +5796,14 @@ var Oauth2AuthorizedURLValidationPolicy;
5770
5796
  Oauth2AuthorizedURLValidationPolicy["ExactMatch"] = "ExactMatch";
5771
5797
  })(Oauth2AuthorizedURLValidationPolicy = exports.Oauth2AuthorizedURLValidationPolicy || (exports.Oauth2AuthorizedURLValidationPolicy = {}));
5772
5798
  /**
5773
- * Identifies the WebAuthn workflow. This will affect the parameters used for credential creation
5774
- * and request based on the Tenant configuration.
5775
- *
5776
- * @author Spencer Witt
5799
+ * @author Daniel DeGroff
5777
5800
  */
5778
- var WebAuthnWorkflow;
5779
- (function (WebAuthnWorkflow) {
5780
- WebAuthnWorkflow["bootstrap"] = "bootstrap";
5781
- WebAuthnWorkflow["general"] = "general";
5782
- WebAuthnWorkflow["reauthentication"] = "reauthentication";
5783
- })(WebAuthnWorkflow = exports.WebAuthnWorkflow || (exports.WebAuthnWorkflow = {}));
5801
+ var RefreshTokenExpirationPolicy;
5802
+ (function (RefreshTokenExpirationPolicy) {
5803
+ RefreshTokenExpirationPolicy["Fixed"] = "Fixed";
5804
+ RefreshTokenExpirationPolicy["SlidingWindow"] = "SlidingWindow";
5805
+ RefreshTokenExpirationPolicy["SlidingWindowWithMaximumLifetime"] = "SlidingWindowWithMaximumLifetime";
5806
+ })(RefreshTokenExpirationPolicy = exports.RefreshTokenExpirationPolicy || (exports.RefreshTokenExpirationPolicy = {}));
5784
5807
  var OAuthErrorReason;
5785
5808
  (function (OAuthErrorReason) {
5786
5809
  OAuthErrorReason["auth_code_not_found"] = "auth_code_not_found";
@@ -5841,19 +5864,4 @@ var OAuthErrorReason;
5841
5864
  OAuthErrorReason["change_password_validation"] = "change_password_validation";
5842
5865
  OAuthErrorReason["unknown"] = "unknown";
5843
5866
  })(OAuthErrorReason = exports.OAuthErrorReason || (exports.OAuthErrorReason = {}));
5844
- var ClientAuthenticationMethod;
5845
- (function (ClientAuthenticationMethod) {
5846
- ClientAuthenticationMethod["none"] = "none";
5847
- ClientAuthenticationMethod["client_secret_basic"] = "client_secret_basic";
5848
- ClientAuthenticationMethod["client_secret_post"] = "client_secret_post";
5849
- })(ClientAuthenticationMethod = exports.ClientAuthenticationMethod || (exports.ClientAuthenticationMethod = {}));
5850
- /**
5851
- * @author Brett Pontarelli
5852
- */
5853
- var IdentityProviderLoginMethod;
5854
- (function (IdentityProviderLoginMethod) {
5855
- IdentityProviderLoginMethod["UsePopup"] = "UsePopup";
5856
- IdentityProviderLoginMethod["UseRedirect"] = "UseRedirect";
5857
- IdentityProviderLoginMethod["UseVendorJavaScript"] = "UseVendorJavaScript";
5858
- })(IdentityProviderLoginMethod = exports.IdentityProviderLoginMethod || (exports.IdentityProviderLoginMethod = {}));
5859
5867
  //# sourceMappingURL=FusionAuthClient.js.map