@fusionauth/typescript-client 1.45.0 → 1.46.0
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.
- package/build/index.js +16 -6
- package/build/index.js.map +1 -1
- package/build/src/FusionAuthClient.d.ts +3849 -3754
- package/build/src/FusionAuthClient.js +844 -742
- package/build/src/FusionAuthClient.js.map +1 -1
- package/dist/fusionauth-typescript-client.js +890 -754
- package/dist/fusionauth-typescript-client.min.js +1 -1
- package/dist/fusionauth-typescript-client.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -15,6 +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
19
|
const DefaultRESTClientBuilder_1 = require("./DefaultRESTClientBuilder");
|
|
19
20
|
const url_1 = require("url");
|
|
20
21
|
class FusionAuthClient {
|
|
@@ -48,7 +49,7 @@ class FusionAuthClient {
|
|
|
48
49
|
* Takes an action on a user. The user being actioned is called the "actionee" and the user taking the action is called the
|
|
49
50
|
* "actioner". Both user ids are required in the request object.
|
|
50
51
|
*
|
|
51
|
-
* @param {ActionRequest} request The action request that includes all
|
|
52
|
+
* @param {ActionRequest} request The action request that includes all the information about the action being taken including
|
|
52
53
|
* the id of the action, any options and the duration (if applicable).
|
|
53
54
|
* @returns {Promise<ClientResponse<ActionResponse>>}
|
|
54
55
|
*/
|
|
@@ -87,6 +88,27 @@ class FusionAuthClient {
|
|
|
87
88
|
.withMethod("PUT")
|
|
88
89
|
.go();
|
|
89
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Approve a device grant.
|
|
93
|
+
*
|
|
94
|
+
* @param {string} client_id (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate.
|
|
95
|
+
* @param {string} client_secret (Optional) The client secret. This value will be required if client authentication is enabled.
|
|
96
|
+
* @param {string} token The access token used to identify the user.
|
|
97
|
+
* @param {string} user_code The end-user verification code.
|
|
98
|
+
* @returns {Promise<ClientResponse<DeviceApprovalResponse>>}
|
|
99
|
+
*/
|
|
100
|
+
approveDevice(client_id, client_secret, token, user_code) {
|
|
101
|
+
let body = new url_1.URLSearchParams();
|
|
102
|
+
body.append('client_id', client_id);
|
|
103
|
+
body.append('client_secret', client_secret);
|
|
104
|
+
body.append('token', token);
|
|
105
|
+
body.append('user_code', user_code);
|
|
106
|
+
return this.start()
|
|
107
|
+
.withUri('/oauth2/device/approve')
|
|
108
|
+
.withFormData(body)
|
|
109
|
+
.withMethod("POST")
|
|
110
|
+
.go();
|
|
111
|
+
}
|
|
90
112
|
/**
|
|
91
113
|
* Cancels the user action.
|
|
92
114
|
*
|
|
@@ -110,7 +132,7 @@ class FusionAuthClient {
|
|
|
110
132
|
* the value in the request body.
|
|
111
133
|
*
|
|
112
134
|
* @param {string} changePasswordId The change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.
|
|
113
|
-
* @param {ChangePasswordRequest} request The change password request that contains all
|
|
135
|
+
* @param {ChangePasswordRequest} request The change password request that contains all the information used to change the password.
|
|
114
136
|
* @returns {Promise<ClientResponse<ChangePasswordResponse>>}
|
|
115
137
|
*/
|
|
116
138
|
changePassword(changePasswordId, request) {
|
|
@@ -126,7 +148,7 @@ class FusionAuthClient {
|
|
|
126
148
|
* bypasses the email verification and allows a password to be changed directly without first calling the #forgotPassword
|
|
127
149
|
* method.
|
|
128
150
|
*
|
|
129
|
-
* @param {ChangePasswordRequest} request The change password request that contains all
|
|
151
|
+
* @param {ChangePasswordRequest} request The change password request that contains all the information used to change the password.
|
|
130
152
|
* @returns {Promise<ClientResponse<void>>}
|
|
131
153
|
*/
|
|
132
154
|
changePasswordByIdentity(request) {
|
|
@@ -190,8 +212,10 @@ class FusionAuthClient {
|
|
|
190
212
|
/**
|
|
191
213
|
* Make a Client Credentials grant request to obtain an access token.
|
|
192
214
|
*
|
|
193
|
-
* @param {string} client_id The client identifier. The client Id is the Id of the FusionAuth Entity in which you are attempting to authenticate.
|
|
194
|
-
*
|
|
215
|
+
* @param {string} client_id (Optional) The client identifier. The client Id is the Id of the FusionAuth Entity in which you are attempting to authenticate.
|
|
216
|
+
* This parameter is optional when Basic Authorization is used to authenticate this request.
|
|
217
|
+
* @param {string} client_secret (Optional) The client secret used to authenticate this request.
|
|
218
|
+
* This parameter is optional when Basic Authorization is used to authenticate this request.
|
|
195
219
|
* @param {string} scope (Optional) This parameter is used to indicate which target entity you are requesting access. To request access to an entity, use the format target-entity:<target-entity-id>:<roles>. Roles are an optional comma separated list.
|
|
196
220
|
* @returns {Promise<ClientResponse<AccessToken>>}
|
|
197
221
|
*/
|
|
@@ -267,7 +291,7 @@ class FusionAuthClient {
|
|
|
267
291
|
* If an API key is locked to a tenant, it can only create API Keys for that same tenant.
|
|
268
292
|
*
|
|
269
293
|
* @param {UUID} keyId (Optional) The unique Id of the API key. If not provided a secure random Id will be generated.
|
|
270
|
-
* @param {APIKeyRequest} request The request object that contains all
|
|
294
|
+
* @param {APIKeyRequest} request The request object that contains all the information needed to create the APIKey.
|
|
271
295
|
* @returns {Promise<ClientResponse<APIKeyResponse>>}
|
|
272
296
|
*/
|
|
273
297
|
createAPIKey(keyId, request) {
|
|
@@ -961,7 +985,7 @@ class FusionAuthClient {
|
|
|
961
985
|
/**
|
|
962
986
|
* Removes users as members of a group.
|
|
963
987
|
*
|
|
964
|
-
* @param {MemberDeleteRequest} request The member request that contains all
|
|
988
|
+
* @param {MemberDeleteRequest} request The member request that contains all the information used to remove members to the group.
|
|
965
989
|
* @returns {Promise<ClientResponse<void>>}
|
|
966
990
|
*/
|
|
967
991
|
deleteGroupMembers(request) {
|
|
@@ -1329,7 +1353,8 @@ class FusionAuthClient {
|
|
|
1329
1353
|
* Makes a request to the Token endpoint to exchange the authorization code returned from the Authorize endpoint for an access token.
|
|
1330
1354
|
*
|
|
1331
1355
|
* @param {string} code The authorization code returned on the /oauth2/authorize response.
|
|
1332
|
-
* @param {string} client_id The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate.
|
|
1356
|
+
* @param {string} client_id (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate.
|
|
1357
|
+
* This parameter is optional when Basic Authorization is used to authenticate this request.
|
|
1333
1358
|
* @param {string} client_secret (Optional) The client secret. This value will be required if client authentication is enabled.
|
|
1334
1359
|
* @param {string} redirect_uri The URI to redirect to upon a successful request.
|
|
1335
1360
|
* @returns {Promise<ClientResponse<AccessToken>>}
|
|
@@ -1353,6 +1378,7 @@ class FusionAuthClient {
|
|
|
1353
1378
|
*
|
|
1354
1379
|
* @param {string} code The authorization code returned on the /oauth2/authorize response.
|
|
1355
1380
|
* @param {string} client_id (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
|
|
1381
|
+
* This parameter is optional when Basic Authorization is used to authenticate this request.
|
|
1356
1382
|
* @param {string} client_secret (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
|
|
1357
1383
|
* @param {string} redirect_uri The URI to redirect to upon a successful request.
|
|
1358
1384
|
* @param {string} code_verifier The random string generated previously. Will be compared with the code_challenge sent previously, which allows the OAuth provider to authenticate your app.
|
|
@@ -1378,6 +1404,7 @@ class FusionAuthClient {
|
|
|
1378
1404
|
*
|
|
1379
1405
|
* @param {string} refresh_token The refresh token that you would like to use to exchange for an access token.
|
|
1380
1406
|
* @param {string} client_id (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
|
|
1407
|
+
* This parameter is optional when Basic Authorization is used to authenticate this request.
|
|
1381
1408
|
* @param {string} client_secret (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
|
|
1382
1409
|
* @param {string} scope (Optional) This parameter is optional and if omitted, the same scope requested during the authorization request will be used. If provided the scopes must match those requested during the initial authorization request.
|
|
1383
1410
|
* @param {string} user_code (Optional) The end-user verification code. This code is required if using this endpoint to approve the Device Authorization.
|
|
@@ -1417,6 +1444,7 @@ class FusionAuthClient {
|
|
|
1417
1444
|
* @param {string} username The login identifier of the user. The login identifier can be either the email or the username.
|
|
1418
1445
|
* @param {string} password The user’s password.
|
|
1419
1446
|
* @param {string} client_id (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
|
|
1447
|
+
* This parameter is optional when Basic Authorization is used to authenticate this request.
|
|
1420
1448
|
* @param {string} client_secret (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
|
|
1421
1449
|
* @param {string} scope (Optional) This parameter is optional and if omitted, the same scope requested during the authorization request will be used. If provided the scopes must match those requested during the initial authorization request.
|
|
1422
1450
|
* @param {string} user_code (Optional) The end-user verification code. This code is required if using this endpoint to approve the Device Authorization.
|
|
@@ -1579,7 +1607,7 @@ class FusionAuthClient {
|
|
|
1579
1607
|
* body with specific validation errors. This will slow the request down but will allow you to identify the cause of
|
|
1580
1608
|
* the failure. See the validateDbConstraints request parameter.
|
|
1581
1609
|
*
|
|
1582
|
-
* @param {RefreshTokenImportRequest} request The request that contains all
|
|
1610
|
+
* @param {RefreshTokenImportRequest} request The request that contains all the information about all the refresh tokens to import.
|
|
1583
1611
|
* @returns {Promise<ClientResponse<void>>}
|
|
1584
1612
|
*/
|
|
1585
1613
|
importRefreshTokens(request) {
|
|
@@ -1599,7 +1627,7 @@ class FusionAuthClient {
|
|
|
1599
1627
|
* body with specific validation errors. This will slow the request down but will allow you to identify the cause of the failure. See
|
|
1600
1628
|
* the validateDbConstraints request parameter.
|
|
1601
1629
|
*
|
|
1602
|
-
* @param {ImportRequest} request The request that contains all
|
|
1630
|
+
* @param {ImportRequest} request The request that contains all the information about all the users to import.
|
|
1603
1631
|
* @returns {Promise<ClientResponse<void>>}
|
|
1604
1632
|
*/
|
|
1605
1633
|
importUsers(request) {
|
|
@@ -1623,10 +1651,10 @@ class FusionAuthClient {
|
|
|
1623
1651
|
.go();
|
|
1624
1652
|
}
|
|
1625
1653
|
/**
|
|
1626
|
-
* Inspect an access token issued
|
|
1654
|
+
* Inspect an access token issued as the result of the User based grant such as the Authorization Code Grant, Implicit Grant, the User Credentials Grant or the Refresh Grant.
|
|
1627
1655
|
*
|
|
1628
1656
|
* @param {string} client_id The unique client identifier. The client Id is the Id of the FusionAuth Application for which this token was generated.
|
|
1629
|
-
* @param {string} token The access token returned by this OAuth provider as the result of a successful
|
|
1657
|
+
* @param {string} token The access token returned by this OAuth provider as the result of a successful client credentials grant.
|
|
1630
1658
|
* @returns {Promise<ClientResponse<IntrospectResponse>>}
|
|
1631
1659
|
*/
|
|
1632
1660
|
introspectAccessToken(client_id, token) {
|
|
@@ -1639,6 +1667,21 @@ class FusionAuthClient {
|
|
|
1639
1667
|
.withMethod("POST")
|
|
1640
1668
|
.go();
|
|
1641
1669
|
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Inspect an access token issued as the result of the Client Credentials Grant.
|
|
1672
|
+
*
|
|
1673
|
+
* @param {string} token The access token returned by this OAuth provider as the result of a successful client credentials grant.
|
|
1674
|
+
* @returns {Promise<ClientResponse<IntrospectResponse>>}
|
|
1675
|
+
*/
|
|
1676
|
+
introspectClientCredentialsAccessToken(token) {
|
|
1677
|
+
let body = new url_1.URLSearchParams();
|
|
1678
|
+
body.append('token', token);
|
|
1679
|
+
return this.startAnonymous()
|
|
1680
|
+
.withUri('/oauth2/introspect')
|
|
1681
|
+
.withFormData(body)
|
|
1682
|
+
.withMethod("POST")
|
|
1683
|
+
.go();
|
|
1684
|
+
}
|
|
1642
1685
|
/**
|
|
1643
1686
|
* Issue a new access token (JWT) for the requested Application after ensuring the provided JWT is valid. A valid
|
|
1644
1687
|
* access token is properly signed and not expired.
|
|
@@ -1719,7 +1762,7 @@ class FusionAuthClient {
|
|
|
1719
1762
|
* client and revoke the refresh token stored. This API does nothing if the request does not contain an access
|
|
1720
1763
|
* token or refresh token cookies.
|
|
1721
1764
|
*
|
|
1722
|
-
* @param {boolean} global When this value is set to true all
|
|
1765
|
+
* @param {boolean} global When this value is set to true all the refresh tokens issued to the owner of the
|
|
1723
1766
|
* provided token will be revoked.
|
|
1724
1767
|
* @param {string} refreshToken (Optional) The refresh_token as a request parameter instead of coming in via a cookie.
|
|
1725
1768
|
* If provided this takes precedence over the cookie.
|
|
@@ -1767,7 +1810,7 @@ class FusionAuthClient {
|
|
|
1767
1810
|
* action.
|
|
1768
1811
|
*
|
|
1769
1812
|
* @param {UUID} actionId The Id of the action to modify. This is technically the user action log id.
|
|
1770
|
-
* @param {ActionRequest} request The request that contains all
|
|
1813
|
+
* @param {ActionRequest} request The request that contains all the information about the modification.
|
|
1771
1814
|
* @returns {Promise<ClientResponse<ActionResponse>>}
|
|
1772
1815
|
*/
|
|
1773
1816
|
modifyAction(actionId, request) {
|
|
@@ -1781,7 +1824,7 @@ class FusionAuthClient {
|
|
|
1781
1824
|
/**
|
|
1782
1825
|
* Complete a login request using a passwordless code
|
|
1783
1826
|
*
|
|
1784
|
-
* @param {PasswordlessLoginRequest} request The passwordless login request that contains all
|
|
1827
|
+
* @param {PasswordlessLoginRequest} request The passwordless login request that contains all the information used to complete login.
|
|
1785
1828
|
* @returns {Promise<ClientResponse<LoginResponse>>}
|
|
1786
1829
|
*/
|
|
1787
1830
|
passwordlessLogin(request) {
|
|
@@ -1795,7 +1838,7 @@ class FusionAuthClient {
|
|
|
1795
1838
|
* Updates an authentication API key by given id
|
|
1796
1839
|
*
|
|
1797
1840
|
* @param {UUID} keyId The Id of the authentication key. If not provided a secure random api key will be generated.
|
|
1798
|
-
* @param {APIKeyRequest} request The request object that contains all
|
|
1841
|
+
* @param {APIKeyRequest} request The request object that contains all the information needed to create the APIKey.
|
|
1799
1842
|
* @returns {Promise<ClientResponse<APIKeyResponse>>}
|
|
1800
1843
|
*/
|
|
1801
1844
|
patchAPIKey(keyId, request) {
|
|
@@ -2364,7 +2407,7 @@ class FusionAuthClient {
|
|
|
2364
2407
|
.go();
|
|
2365
2408
|
}
|
|
2366
2409
|
/**
|
|
2367
|
-
* Retrieves the application for the given id or all
|
|
2410
|
+
* Retrieves the application for the given id or all the applications if the id is null.
|
|
2368
2411
|
*
|
|
2369
2412
|
* @param {UUID} applicationId (Optional) The application id.
|
|
2370
2413
|
* @returns {Promise<ClientResponse<ApplicationResponse>>}
|
|
@@ -2467,7 +2510,7 @@ class FusionAuthClient {
|
|
|
2467
2510
|
.go();
|
|
2468
2511
|
}
|
|
2469
2512
|
/**
|
|
2470
|
-
* Retrieves the email template for the given Id. If you don't specify the id, this will return all
|
|
2513
|
+
* Retrieves the email template for the given Id. If you don't specify the id, this will return all the email templates.
|
|
2471
2514
|
*
|
|
2472
2515
|
* @param {UUID} emailTemplateId (Optional) The Id of the email template.
|
|
2473
2516
|
* @returns {Promise<ClientResponse<EmailTemplateResponse>>}
|
|
@@ -2685,7 +2728,7 @@ class FusionAuthClient {
|
|
|
2685
2728
|
.go();
|
|
2686
2729
|
}
|
|
2687
2730
|
/**
|
|
2688
|
-
* Retrieves the identity provider for the given id or all
|
|
2731
|
+
* Retrieves the identity provider for the given id or all the identity providers if the id is null.
|
|
2689
2732
|
*
|
|
2690
2733
|
* @param {UUID} identityProviderId The identity provider Id.
|
|
2691
2734
|
* @returns {Promise<ClientResponse<IdentityProviderResponse>>}
|
|
@@ -2901,7 +2944,7 @@ class FusionAuthClient {
|
|
|
2901
2944
|
.go();
|
|
2902
2945
|
}
|
|
2903
2946
|
/**
|
|
2904
|
-
* Retrieves the message template for the given Id. If you don't specify the id, this will return all
|
|
2947
|
+
* Retrieves the message template for the given Id. If you don't specify the id, this will return all the message templates.
|
|
2905
2948
|
*
|
|
2906
2949
|
* @param {UUID} messageTemplateId (Optional) The Id of the message template.
|
|
2907
2950
|
* @returns {Promise<ClientResponse<MessageTemplateResponse>>}
|
|
@@ -3046,6 +3089,21 @@ class FusionAuthClient {
|
|
|
3046
3089
|
.withMethod("GET")
|
|
3047
3090
|
.go();
|
|
3048
3091
|
}
|
|
3092
|
+
/**
|
|
3093
|
+
* Retrieve a pending identity provider link. This is useful to validate a pending link and retrieve meta-data about the identity provider link.
|
|
3094
|
+
*
|
|
3095
|
+
* @param {string} pendingLinkId The pending link Id.
|
|
3096
|
+
* @param {UUID} userId The optional userId. When provided additional meta-data will be provided to identify how many links if any the user already has.
|
|
3097
|
+
* @returns {Promise<ClientResponse<IdentityProviderPendingLinkResponse>>}
|
|
3098
|
+
*/
|
|
3099
|
+
retrievePendingLink(pendingLinkId, userId) {
|
|
3100
|
+
return this.start()
|
|
3101
|
+
.withUri('/api/identity-provider/link/pending')
|
|
3102
|
+
.withUriSegment(pendingLinkId)
|
|
3103
|
+
.withParameter('userId', userId)
|
|
3104
|
+
.withMethod("GET")
|
|
3105
|
+
.go();
|
|
3106
|
+
}
|
|
3049
3107
|
/**
|
|
3050
3108
|
* Retrieves the FusionAuth Reactor metrics.
|
|
3051
3109
|
*
|
|
@@ -3214,7 +3272,7 @@ class FusionAuthClient {
|
|
|
3214
3272
|
.go();
|
|
3215
3273
|
}
|
|
3216
3274
|
/**
|
|
3217
|
-
* Retrieves the totals report. This contains all
|
|
3275
|
+
* Retrieves the totals report. This contains all the total counts for each application and the global registration
|
|
3218
3276
|
* count.
|
|
3219
3277
|
*
|
|
3220
3278
|
* @returns {Promise<ClientResponse<TotalsReportResponse>>}
|
|
@@ -3272,7 +3330,7 @@ class FusionAuthClient {
|
|
|
3272
3330
|
.go();
|
|
3273
3331
|
}
|
|
3274
3332
|
/**
|
|
3275
|
-
* Retrieves the user action for the given Id. If you pass in null for the id, this will return all
|
|
3333
|
+
* Retrieves the user action for the given Id. If you pass in null for the id, this will return all the user
|
|
3276
3334
|
* actions.
|
|
3277
3335
|
*
|
|
3278
3336
|
* @param {UUID} userActionId (Optional) The Id of the user action.
|
|
@@ -3286,7 +3344,7 @@ class FusionAuthClient {
|
|
|
3286
3344
|
.go();
|
|
3287
3345
|
}
|
|
3288
3346
|
/**
|
|
3289
|
-
* Retrieves the user action reason for the given Id. If you pass in null for the id, this will return all
|
|
3347
|
+
* Retrieves the user action reason for the given Id. If you pass in null for the id, this will return all the user
|
|
3290
3348
|
* action reasons.
|
|
3291
3349
|
*
|
|
3292
3350
|
* @param {UUID} userActionReasonId (Optional) The Id of the user action reason.
|
|
@@ -3388,6 +3446,46 @@ class FusionAuthClient {
|
|
|
3388
3446
|
.withMethod("GET")
|
|
3389
3447
|
.go();
|
|
3390
3448
|
}
|
|
3449
|
+
/**
|
|
3450
|
+
* Retrieve a user_code that is part of an in-progress Device Authorization Grant.
|
|
3451
|
+
*
|
|
3452
|
+
* This API is useful if you want to build your own login workflow to complete a device grant.
|
|
3453
|
+
*
|
|
3454
|
+
* @param {string} client_id The client id.
|
|
3455
|
+
* @param {string} client_secret The client id.
|
|
3456
|
+
* @param {string} user_code The end-user verification code.
|
|
3457
|
+
* @returns {Promise<ClientResponse<void>>}
|
|
3458
|
+
*/
|
|
3459
|
+
retrieveUserCode(client_id, client_secret, user_code) {
|
|
3460
|
+
let body = new url_1.URLSearchParams();
|
|
3461
|
+
body.append('client_id', client_id);
|
|
3462
|
+
body.append('client_secret', client_secret);
|
|
3463
|
+
body.append('user_code', user_code);
|
|
3464
|
+
return this.startAnonymous()
|
|
3465
|
+
.withUri('/oauth2/device/user-code')
|
|
3466
|
+
.withFormData(body)
|
|
3467
|
+
.withMethod("GET")
|
|
3468
|
+
.go();
|
|
3469
|
+
}
|
|
3470
|
+
/**
|
|
3471
|
+
* Retrieve a user_code that is part of an in-progress Device Authorization Grant.
|
|
3472
|
+
*
|
|
3473
|
+
* This API is useful if you want to build your own login workflow to complete a device grant.
|
|
3474
|
+
*
|
|
3475
|
+
* This request will require an API key.
|
|
3476
|
+
*
|
|
3477
|
+
* @param {string} user_code The end-user verification code.
|
|
3478
|
+
* @returns {Promise<ClientResponse<void>>}
|
|
3479
|
+
*/
|
|
3480
|
+
retrieveUserCodeUsingAPIKey(user_code) {
|
|
3481
|
+
let body = new url_1.URLSearchParams();
|
|
3482
|
+
body.append('user_code', user_code);
|
|
3483
|
+
return this.startAnonymous()
|
|
3484
|
+
.withUri('/oauth2/device/user-code')
|
|
3485
|
+
.withFormData(body)
|
|
3486
|
+
.withMethod("GET")
|
|
3487
|
+
.go();
|
|
3488
|
+
}
|
|
3391
3489
|
/**
|
|
3392
3490
|
* Retrieves all the comments for the user with the given Id.
|
|
3393
3491
|
*
|
|
@@ -4060,7 +4158,7 @@ class FusionAuthClient {
|
|
|
4060
4158
|
* pairs in the email template.
|
|
4061
4159
|
*
|
|
4062
4160
|
* @param {UUID} emailTemplateId The id for the template.
|
|
4063
|
-
* @param {SendRequest} request The send email request that contains all
|
|
4161
|
+
* @param {SendRequest} request The send email request that contains all the information used to send the email.
|
|
4064
4162
|
* @returns {Promise<ClientResponse<SendResponse>>}
|
|
4065
4163
|
*/
|
|
4066
4164
|
sendEmail(emailTemplateId, request) {
|
|
@@ -4087,7 +4185,7 @@ class FusionAuthClient {
|
|
|
4087
4185
|
/**
|
|
4088
4186
|
* Send a passwordless authentication code in an email to complete login.
|
|
4089
4187
|
*
|
|
4090
|
-
* @param {PasswordlessSendRequest} request The passwordless send request that contains all
|
|
4188
|
+
* @param {PasswordlessSendRequest} request The passwordless send request that contains all the information used to send an email containing a code.
|
|
4091
4189
|
* @returns {Promise<ClientResponse<void>>}
|
|
4092
4190
|
*/
|
|
4093
4191
|
sendPasswordlessCode(request) {
|
|
@@ -4145,7 +4243,7 @@ class FusionAuthClient {
|
|
|
4145
4243
|
* Send a Two Factor authentication code to allow the completion of Two Factor authentication.
|
|
4146
4244
|
*
|
|
4147
4245
|
* @param {string} twoFactorId The Id returned by the Login API necessary to complete Two Factor authentication.
|
|
4148
|
-
* @param {TwoFactorSendRequest} request The Two Factor send request that contains all
|
|
4246
|
+
* @param {TwoFactorSendRequest} request The Two Factor send request that contains all the information used to send the Two Factor code to the user.
|
|
4149
4247
|
* @returns {Promise<ClientResponse<void>>}
|
|
4150
4248
|
*/
|
|
4151
4249
|
sendTwoFactorCodeForLoginUsingMethod(twoFactorId, request) {
|
|
@@ -4174,7 +4272,7 @@ class FusionAuthClient {
|
|
|
4174
4272
|
* Start a passwordless login request by generating a passwordless code. This code can be sent to the User using the Send
|
|
4175
4273
|
* Passwordless Code API or using a mechanism outside of FusionAuth. The passwordless login is completed by using the Passwordless Login API with this code.
|
|
4176
4274
|
*
|
|
4177
|
-
* @param {PasswordlessStartRequest} request The passwordless start request that contains all
|
|
4275
|
+
* @param {PasswordlessStartRequest} request The passwordless start request that contains all the information used to begin the passwordless login request.
|
|
4178
4276
|
* @returns {Promise<ClientResponse<PasswordlessStartResponse>>}
|
|
4179
4277
|
*/
|
|
4180
4278
|
startPasswordlessLogin(request) {
|
|
@@ -4190,9 +4288,9 @@ class FusionAuthClient {
|
|
|
4190
4288
|
* to send the code out-of-band. The Two-Factor login is completed by making a request to the Two-Factor Login
|
|
4191
4289
|
* API (/api/two-factor/login). with the two-factor identifier and the one-time use code.
|
|
4192
4290
|
*
|
|
4193
|
-
* This API is intended to allow you to begin a Two-Factor login outside
|
|
4291
|
+
* This API is intended to allow you to begin a Two-Factor login outside a normal login that originated from the Login API (/api/login).
|
|
4194
4292
|
*
|
|
4195
|
-
* @param {TwoFactorStartRequest} request The Two-Factor start request that contains all
|
|
4293
|
+
* @param {TwoFactorStartRequest} request The Two-Factor start request that contains all the information used to begin the Two-Factor login request.
|
|
4196
4294
|
* @returns {Promise<ClientResponse<TwoFactorStartResponse>>}
|
|
4197
4295
|
*/
|
|
4198
4296
|
startTwoFactorLogin(request) {
|
|
@@ -4260,7 +4358,7 @@ class FusionAuthClient {
|
|
|
4260
4358
|
* Updates the application with the given Id.
|
|
4261
4359
|
*
|
|
4262
4360
|
* @param {UUID} applicationId The Id of the application to update.
|
|
4263
|
-
* @param {ApplicationRequest} request The request that contains all
|
|
4361
|
+
* @param {ApplicationRequest} request The request that contains all the new application information.
|
|
4264
4362
|
* @returns {Promise<ClientResponse<ApplicationResponse>>}
|
|
4265
4363
|
*/
|
|
4266
4364
|
updateApplication(applicationId, request) {
|
|
@@ -4276,7 +4374,7 @@ class FusionAuthClient {
|
|
|
4276
4374
|
*
|
|
4277
4375
|
* @param {UUID} applicationId The Id of the application that the role belongs to.
|
|
4278
4376
|
* @param {UUID} roleId The Id of the role to update.
|
|
4279
|
-
* @param {ApplicationRequest} request The request that contains all
|
|
4377
|
+
* @param {ApplicationRequest} request The request that contains all the new role information.
|
|
4280
4378
|
* @returns {Promise<ClientResponse<ApplicationResponse>>}
|
|
4281
4379
|
*/
|
|
4282
4380
|
updateApplicationRole(applicationId, roleId, request) {
|
|
@@ -4293,7 +4391,7 @@ class FusionAuthClient {
|
|
|
4293
4391
|
* Updates the connector with the given Id.
|
|
4294
4392
|
*
|
|
4295
4393
|
* @param {UUID} connectorId The Id of the connector to update.
|
|
4296
|
-
* @param {ConnectorRequest} request The request object that contains all
|
|
4394
|
+
* @param {ConnectorRequest} request The request object that contains all the new connector information.
|
|
4297
4395
|
* @returns {Promise<ClientResponse<ConnectorResponse>>}
|
|
4298
4396
|
*/
|
|
4299
4397
|
updateConnector(connectorId, request) {
|
|
@@ -4308,7 +4406,7 @@ class FusionAuthClient {
|
|
|
4308
4406
|
* Updates the consent with the given Id.
|
|
4309
4407
|
*
|
|
4310
4408
|
* @param {UUID} consentId The Id of the consent to update.
|
|
4311
|
-
* @param {ConsentRequest} request The request that contains all
|
|
4409
|
+
* @param {ConsentRequest} request The request that contains all the new consent information.
|
|
4312
4410
|
* @returns {Promise<ClientResponse<ConsentResponse>>}
|
|
4313
4411
|
*/
|
|
4314
4412
|
updateConsent(consentId, request) {
|
|
@@ -4323,7 +4421,7 @@ class FusionAuthClient {
|
|
|
4323
4421
|
* Updates the email template with the given Id.
|
|
4324
4422
|
*
|
|
4325
4423
|
* @param {UUID} emailTemplateId The Id of the email template to update.
|
|
4326
|
-
* @param {EmailTemplateRequest} request The request that contains all
|
|
4424
|
+
* @param {EmailTemplateRequest} request The request that contains all the new email template information.
|
|
4327
4425
|
* @returns {Promise<ClientResponse<EmailTemplateResponse>>}
|
|
4328
4426
|
*/
|
|
4329
4427
|
updateEmailTemplate(emailTemplateId, request) {
|
|
@@ -4338,7 +4436,7 @@ class FusionAuthClient {
|
|
|
4338
4436
|
* Updates the Entity with the given Id.
|
|
4339
4437
|
*
|
|
4340
4438
|
* @param {UUID} entityId The Id of the Entity to update.
|
|
4341
|
-
* @param {EntityRequest} request The request that contains all
|
|
4439
|
+
* @param {EntityRequest} request The request that contains all the new Entity information.
|
|
4342
4440
|
* @returns {Promise<ClientResponse<EntityResponse>>}
|
|
4343
4441
|
*/
|
|
4344
4442
|
updateEntity(entityId, request) {
|
|
@@ -4353,7 +4451,7 @@ class FusionAuthClient {
|
|
|
4353
4451
|
* Updates the Entity Type with the given Id.
|
|
4354
4452
|
*
|
|
4355
4453
|
* @param {UUID} entityTypeId The Id of the Entity Type to update.
|
|
4356
|
-
* @param {EntityTypeRequest} request The request that contains all
|
|
4454
|
+
* @param {EntityTypeRequest} request The request that contains all the new Entity Type information.
|
|
4357
4455
|
* @returns {Promise<ClientResponse<EntityTypeResponse>>}
|
|
4358
4456
|
*/
|
|
4359
4457
|
updateEntityType(entityTypeId, request) {
|
|
@@ -4369,7 +4467,7 @@ class FusionAuthClient {
|
|
|
4369
4467
|
*
|
|
4370
4468
|
* @param {UUID} entityTypeId The Id of the entityType that the permission belongs to.
|
|
4371
4469
|
* @param {UUID} permissionId The Id of the permission to update.
|
|
4372
|
-
* @param {EntityTypeRequest} request The request that contains all
|
|
4470
|
+
* @param {EntityTypeRequest} request The request that contains all the new permission information.
|
|
4373
4471
|
* @returns {Promise<ClientResponse<EntityTypeResponse>>}
|
|
4374
4472
|
*/
|
|
4375
4473
|
updateEntityTypePermission(entityTypeId, permissionId, request) {
|
|
@@ -4386,7 +4484,7 @@ class FusionAuthClient {
|
|
|
4386
4484
|
* Updates the form with the given Id.
|
|
4387
4485
|
*
|
|
4388
4486
|
* @param {UUID} formId The Id of the form to update.
|
|
4389
|
-
* @param {FormRequest} request The request object that contains all
|
|
4487
|
+
* @param {FormRequest} request The request object that contains all the new form information.
|
|
4390
4488
|
* @returns {Promise<ClientResponse<FormResponse>>}
|
|
4391
4489
|
*/
|
|
4392
4490
|
updateForm(formId, request) {
|
|
@@ -4401,7 +4499,7 @@ class FusionAuthClient {
|
|
|
4401
4499
|
* Updates the form field with the given Id.
|
|
4402
4500
|
*
|
|
4403
4501
|
* @param {UUID} fieldId The Id of the form field to update.
|
|
4404
|
-
* @param {FormFieldRequest} request The request object that contains all
|
|
4502
|
+
* @param {FormFieldRequest} request The request object that contains all the new form field information.
|
|
4405
4503
|
* @returns {Promise<ClientResponse<FormFieldResponse>>}
|
|
4406
4504
|
*/
|
|
4407
4505
|
updateFormField(fieldId, request) {
|
|
@@ -4416,7 +4514,7 @@ class FusionAuthClient {
|
|
|
4416
4514
|
* Updates the group with the given Id.
|
|
4417
4515
|
*
|
|
4418
4516
|
* @param {UUID} groupId The Id of the group to update.
|
|
4419
|
-
* @param {GroupRequest} request The request that contains all
|
|
4517
|
+
* @param {GroupRequest} request The request that contains all the new group information.
|
|
4420
4518
|
* @returns {Promise<ClientResponse<GroupResponse>>}
|
|
4421
4519
|
*/
|
|
4422
4520
|
updateGroup(groupId, request) {
|
|
@@ -4444,7 +4542,7 @@ class FusionAuthClient {
|
|
|
4444
4542
|
* Updates the IP Access Control List with the given Id.
|
|
4445
4543
|
*
|
|
4446
4544
|
* @param {UUID} accessControlListId The Id of the IP Access Control List to update.
|
|
4447
|
-
* @param {IPAccessControlListRequest} request The request that contains all
|
|
4545
|
+
* @param {IPAccessControlListRequest} request The request that contains all the new IP Access Control List information.
|
|
4448
4546
|
* @returns {Promise<ClientResponse<IPAccessControlListResponse>>}
|
|
4449
4547
|
*/
|
|
4450
4548
|
updateIPAccessControlList(accessControlListId, request) {
|
|
@@ -4473,7 +4571,7 @@ class FusionAuthClient {
|
|
|
4473
4571
|
/**
|
|
4474
4572
|
* Updates the available integrations.
|
|
4475
4573
|
*
|
|
4476
|
-
* @param {IntegrationRequest} request The request that contains all
|
|
4574
|
+
* @param {IntegrationRequest} request The request that contains all the new integration information.
|
|
4477
4575
|
* @returns {Promise<ClientResponse<IntegrationResponse>>}
|
|
4478
4576
|
*/
|
|
4479
4577
|
updateIntegrations(request) {
|
|
@@ -4487,7 +4585,7 @@ class FusionAuthClient {
|
|
|
4487
4585
|
* Updates the key with the given Id.
|
|
4488
4586
|
*
|
|
4489
4587
|
* @param {UUID} keyId The Id of the key to update.
|
|
4490
|
-
* @param {KeyRequest} request The request that contains all
|
|
4588
|
+
* @param {KeyRequest} request The request that contains all the new key information.
|
|
4491
4589
|
* @returns {Promise<ClientResponse<KeyResponse>>}
|
|
4492
4590
|
*/
|
|
4493
4591
|
updateKey(keyId, request) {
|
|
@@ -4502,7 +4600,7 @@ class FusionAuthClient {
|
|
|
4502
4600
|
* Updates the lambda with the given Id.
|
|
4503
4601
|
*
|
|
4504
4602
|
* @param {UUID} lambdaId The Id of the lambda to update.
|
|
4505
|
-
* @param {LambdaRequest} request The request that contains all
|
|
4603
|
+
* @param {LambdaRequest} request The request that contains all the new lambda information.
|
|
4506
4604
|
* @returns {Promise<ClientResponse<LambdaResponse>>}
|
|
4507
4605
|
*/
|
|
4508
4606
|
updateLambda(lambdaId, request) {
|
|
@@ -4517,7 +4615,7 @@ class FusionAuthClient {
|
|
|
4517
4615
|
* Updates the message template with the given Id.
|
|
4518
4616
|
*
|
|
4519
4617
|
* @param {UUID} messageTemplateId The Id of the message template to update.
|
|
4520
|
-
* @param {MessageTemplateRequest} request The request that contains all
|
|
4618
|
+
* @param {MessageTemplateRequest} request The request that contains all the new message template information.
|
|
4521
4619
|
* @returns {Promise<ClientResponse<MessageTemplateResponse>>}
|
|
4522
4620
|
*/
|
|
4523
4621
|
updateMessageTemplate(messageTemplateId, request) {
|
|
@@ -4532,7 +4630,7 @@ class FusionAuthClient {
|
|
|
4532
4630
|
* Updates the messenger with the given Id.
|
|
4533
4631
|
*
|
|
4534
4632
|
* @param {UUID} messengerId The Id of the messenger to update.
|
|
4535
|
-
* @param {MessengerRequest} request The request object that contains all
|
|
4633
|
+
* @param {MessengerRequest} request The request object that contains all the new messenger information.
|
|
4536
4634
|
* @returns {Promise<ClientResponse<MessengerResponse>>}
|
|
4537
4635
|
*/
|
|
4538
4636
|
updateMessenger(messengerId, request) {
|
|
@@ -4547,7 +4645,7 @@ class FusionAuthClient {
|
|
|
4547
4645
|
* Updates the registration for the user with the given id and the application defined in the request.
|
|
4548
4646
|
*
|
|
4549
4647
|
* @param {UUID} userId The Id of the user whose registration is going to be updated.
|
|
4550
|
-
* @param {RegistrationRequest} request The request that contains all
|
|
4648
|
+
* @param {RegistrationRequest} request The request that contains all the new registration information.
|
|
4551
4649
|
* @returns {Promise<ClientResponse<RegistrationResponse>>}
|
|
4552
4650
|
*/
|
|
4553
4651
|
updateRegistration(userId, request) {
|
|
@@ -4561,7 +4659,7 @@ class FusionAuthClient {
|
|
|
4561
4659
|
/**
|
|
4562
4660
|
* Updates the system configuration.
|
|
4563
4661
|
*
|
|
4564
|
-
* @param {SystemConfigurationRequest} request The request that contains all
|
|
4662
|
+
* @param {SystemConfigurationRequest} request The request that contains all the new system configuration information.
|
|
4565
4663
|
* @returns {Promise<ClientResponse<SystemConfigurationResponse>>}
|
|
4566
4664
|
*/
|
|
4567
4665
|
updateSystemConfiguration(request) {
|
|
@@ -4575,7 +4673,7 @@ class FusionAuthClient {
|
|
|
4575
4673
|
* Updates the tenant with the given Id.
|
|
4576
4674
|
*
|
|
4577
4675
|
* @param {UUID} tenantId The Id of the tenant to update.
|
|
4578
|
-
* @param {TenantRequest} request The request that contains all
|
|
4676
|
+
* @param {TenantRequest} request The request that contains all the new tenant information.
|
|
4579
4677
|
* @returns {Promise<ClientResponse<TenantResponse>>}
|
|
4580
4678
|
*/
|
|
4581
4679
|
updateTenant(tenantId, request) {
|
|
@@ -4590,7 +4688,7 @@ class FusionAuthClient {
|
|
|
4590
4688
|
* Updates the theme with the given Id.
|
|
4591
4689
|
*
|
|
4592
4690
|
* @param {UUID} themeId The Id of the theme to update.
|
|
4593
|
-
* @param {ThemeRequest} request The request that contains all
|
|
4691
|
+
* @param {ThemeRequest} request The request that contains all the new theme information.
|
|
4594
4692
|
* @returns {Promise<ClientResponse<ThemeResponse>>}
|
|
4595
4693
|
*/
|
|
4596
4694
|
updateTheme(themeId, request) {
|
|
@@ -4605,7 +4703,7 @@ class FusionAuthClient {
|
|
|
4605
4703
|
* Updates the user with the given Id.
|
|
4606
4704
|
*
|
|
4607
4705
|
* @param {UUID} userId The Id of the user to update.
|
|
4608
|
-
* @param {UserRequest} request The request that contains all
|
|
4706
|
+
* @param {UserRequest} request The request that contains all the new user information.
|
|
4609
4707
|
* @returns {Promise<ClientResponse<UserResponse>>}
|
|
4610
4708
|
*/
|
|
4611
4709
|
updateUser(userId, request) {
|
|
@@ -4620,7 +4718,7 @@ class FusionAuthClient {
|
|
|
4620
4718
|
* Updates the user action with the given Id.
|
|
4621
4719
|
*
|
|
4622
4720
|
* @param {UUID} userActionId The Id of the user action to update.
|
|
4623
|
-
* @param {UserActionRequest} request The request that contains all
|
|
4721
|
+
* @param {UserActionRequest} request The request that contains all the new user action information.
|
|
4624
4722
|
* @returns {Promise<ClientResponse<UserActionResponse>>}
|
|
4625
4723
|
*/
|
|
4626
4724
|
updateUserAction(userActionId, request) {
|
|
@@ -4635,7 +4733,7 @@ class FusionAuthClient {
|
|
|
4635
4733
|
* Updates the user action reason with the given Id.
|
|
4636
4734
|
*
|
|
4637
4735
|
* @param {UUID} userActionReasonId The Id of the user action reason to update.
|
|
4638
|
-
* @param {UserActionReasonRequest} request The request that contains all
|
|
4736
|
+
* @param {UserActionReasonRequest} request The request that contains all the new user action reason information.
|
|
4639
4737
|
* @returns {Promise<ClientResponse<UserActionReasonResponse>>}
|
|
4640
4738
|
*/
|
|
4641
4739
|
updateUserActionReason(userActionReasonId, request) {
|
|
@@ -4665,7 +4763,7 @@ class FusionAuthClient {
|
|
|
4665
4763
|
* Updates the webhook with the given Id.
|
|
4666
4764
|
*
|
|
4667
4765
|
* @param {UUID} webhookId The Id of the webhook to update.
|
|
4668
|
-
* @param {WebhookRequest} request The request that contains all
|
|
4766
|
+
* @param {WebhookRequest} request The request that contains all the new webhook information.
|
|
4669
4767
|
* @returns {Promise<ClientResponse<WebhookResponse>>}
|
|
4670
4768
|
*/
|
|
4671
4769
|
updateWebhook(webhookId, request) {
|
|
@@ -4735,7 +4833,7 @@ class FusionAuthClient {
|
|
|
4735
4833
|
* If a TTL is not provided in the request, the TTL will be retrieved from the default Tenant or the Tenant specified on the request either
|
|
4736
4834
|
* by way of the X-FusionAuth-TenantId request header, or a tenant scoped API key.
|
|
4737
4835
|
*
|
|
4738
|
-
* @param {JWTVendRequest} request The request that contains all
|
|
4836
|
+
* @param {JWTVendRequest} request The request that contains all the claims for this JWT.
|
|
4739
4837
|
* @returns {Promise<ClientResponse<JWTVendResponse>>}
|
|
4740
4838
|
*/
|
|
4741
4839
|
vendJWT(request) {
|
|
@@ -4855,26 +4953,38 @@ class FusionAuthClient {
|
|
|
4855
4953
|
exports.FusionAuthClient = FusionAuthClient;
|
|
4856
4954
|
exports.default = FusionAuthClient;
|
|
4857
4955
|
/**
|
|
4858
|
-
*
|
|
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.
|
|
4859
4980
|
*
|
|
4860
4981
|
* @author Daniel DeGroff
|
|
4861
4982
|
*/
|
|
4862
|
-
var
|
|
4863
|
-
(function (
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
Algorithm["HS256"] = "HS256";
|
|
4868
|
-
Algorithm["HS384"] = "HS384";
|
|
4869
|
-
Algorithm["HS512"] = "HS512";
|
|
4870
|
-
Algorithm["PS256"] = "PS256";
|
|
4871
|
-
Algorithm["PS384"] = "PS384";
|
|
4872
|
-
Algorithm["PS512"] = "PS512";
|
|
4873
|
-
Algorithm["RS256"] = "RS256";
|
|
4874
|
-
Algorithm["RS384"] = "RS384";
|
|
4875
|
-
Algorithm["RS512"] = "RS512";
|
|
4876
|
-
Algorithm["none"] = "none";
|
|
4877
|
-
})(Algorithm = exports.Algorithm || (exports.Algorithm = {}));
|
|
4983
|
+
var ConsentStatus;
|
|
4984
|
+
(function (ConsentStatus) {
|
|
4985
|
+
ConsentStatus["Active"] = "Active";
|
|
4986
|
+
ConsentStatus["Revoked"] = "Revoked";
|
|
4987
|
+
})(ConsentStatus = exports.ConsentStatus || (exports.ConsentStatus = {}));
|
|
4878
4988
|
/**
|
|
4879
4989
|
* @author Daniel DeGroff
|
|
4880
4990
|
*/
|
|
@@ -4885,47 +4995,75 @@ var ApplicationMultiFactorTrustPolicy;
|
|
|
4885
4995
|
ApplicationMultiFactorTrustPolicy["None"] = "None";
|
|
4886
4996
|
})(ApplicationMultiFactorTrustPolicy = exports.ApplicationMultiFactorTrustPolicy || (exports.ApplicationMultiFactorTrustPolicy = {}));
|
|
4887
4997
|
/**
|
|
4888
|
-
*
|
|
4889
|
-
*
|
|
4890
|
-
* @author Spencer Witt
|
|
4998
|
+
* @author Daniel DeGroff
|
|
4891
4999
|
*/
|
|
4892
|
-
var
|
|
4893
|
-
(function (
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
})(
|
|
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 = {}));
|
|
4899
5007
|
/**
|
|
4900
|
-
*
|
|
5008
|
+
* Authorization Grant types as defined by the <a href="https://tools.ietf.org/html/rfc6749">The OAuth 2.0 Authorization
|
|
5009
|
+
* Framework - RFC 6749</a>.
|
|
5010
|
+
* <p>
|
|
5011
|
+
* Specific names as defined by <a href="https://tools.ietf.org/html/rfc7591#section-4.1">
|
|
5012
|
+
* OAuth 2.0 Dynamic Client Registration Protocol - RFC 7591 Section 4.1</a>
|
|
4901
5013
|
*
|
|
4902
|
-
* @author
|
|
5014
|
+
* @author Daniel DeGroff
|
|
4903
5015
|
*/
|
|
4904
|
-
var
|
|
4905
|
-
(function (
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
5016
|
+
var GrantType;
|
|
5017
|
+
(function (GrantType) {
|
|
5018
|
+
GrantType["authorization_code"] = "authorization_code";
|
|
5019
|
+
GrantType["implicit"] = "implicit";
|
|
5020
|
+
GrantType["password"] = "password";
|
|
5021
|
+
GrantType["client_credentials"] = "client_credentials";
|
|
5022
|
+
GrantType["refresh_token"] = "refresh_token";
|
|
5023
|
+
GrantType["unknown"] = "unknown";
|
|
5024
|
+
GrantType["device_code"] = "urn:ietf:params:oauth:grant-type:device_code";
|
|
5025
|
+
})(GrantType = exports.GrantType || (exports.GrantType = {}));
|
|
4912
5026
|
/**
|
|
4913
|
-
* @author
|
|
5027
|
+
* @author Brian Pontarelli
|
|
4914
5028
|
*/
|
|
4915
|
-
var
|
|
4916
|
-
(function (
|
|
4917
|
-
|
|
4918
|
-
|
|
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 = {}));
|
|
4919
5037
|
/**
|
|
4920
|
-
*
|
|
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
|
+
/**
|
|
5047
|
+
* <ul>
|
|
5048
|
+
* <li>Bearer Token type as defined by <a href="https://tools.ietf.org/html/rfc6750">RFC 6750</a>.</li>
|
|
5049
|
+
* <li>MAC Token type as referenced by <a href="https://tools.ietf.org/html/rfc6749">RFC 6749</a> and
|
|
5050
|
+
* <a href="https://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-05">
|
|
5051
|
+
* Draft RFC on OAuth 2.0 Message Authentication Code (MAC) Tokens</a>
|
|
5052
|
+
* </li>
|
|
5053
|
+
* </ul>
|
|
4921
5054
|
*
|
|
4922
|
-
* @author
|
|
5055
|
+
* @author Daniel DeGroff
|
|
4923
5056
|
*/
|
|
4924
|
-
var
|
|
4925
|
-
(function (
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
})(
|
|
5057
|
+
var TokenType;
|
|
5058
|
+
(function (TokenType) {
|
|
5059
|
+
TokenType["Bearer"] = "Bearer";
|
|
5060
|
+
TokenType["MAC"] = "MAC";
|
|
5061
|
+
})(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 = {}));
|
|
4929
5067
|
/**
|
|
4930
5068
|
* Describes the authenticator attachment modality preference for a WebAuthn workflow. See {@link AuthenticatorAttachment}
|
|
4931
5069
|
*
|
|
@@ -4937,24 +5075,45 @@ var AuthenticatorAttachmentPreference;
|
|
|
4937
5075
|
AuthenticatorAttachmentPreference["platform"] = "platform";
|
|
4938
5076
|
AuthenticatorAttachmentPreference["crossPlatform"] = "crossPlatform";
|
|
4939
5077
|
})(AuthenticatorAttachmentPreference = exports.AuthenticatorAttachmentPreference || (exports.AuthenticatorAttachmentPreference = {}));
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
5078
|
+
/**
|
|
5079
|
+
* @author Brett Guy
|
|
5080
|
+
*/
|
|
5081
|
+
var IPAccessControlEntryAction;
|
|
5082
|
+
(function (IPAccessControlEntryAction) {
|
|
5083
|
+
IPAccessControlEntryAction["Allow"] = "Allow";
|
|
5084
|
+
IPAccessControlEntryAction["Block"] = "Block";
|
|
5085
|
+
})(IPAccessControlEntryAction = exports.IPAccessControlEntryAction || (exports.IPAccessControlEntryAction = {}));
|
|
5086
|
+
/**
|
|
5087
|
+
* @author Mikey Sleevi
|
|
5088
|
+
*/
|
|
5089
|
+
var MessageType;
|
|
5090
|
+
(function (MessageType) {
|
|
5091
|
+
MessageType["SMS"] = "SMS";
|
|
5092
|
+
})(MessageType = exports.MessageType || (exports.MessageType = {}));
|
|
5093
|
+
/**
|
|
5094
|
+
* Status for content like usernames, profile attributes, etc.
|
|
5095
|
+
*
|
|
5096
|
+
* @author Brian Pontarelli
|
|
5097
|
+
*/
|
|
5098
|
+
var ContentStatus;
|
|
5099
|
+
(function (ContentStatus) {
|
|
5100
|
+
ContentStatus["ACTIVE"] = "ACTIVE";
|
|
5101
|
+
ContentStatus["PENDING"] = "PENDING";
|
|
5102
|
+
ContentStatus["REJECTED"] = "REJECTED";
|
|
5103
|
+
})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
|
|
4947
5104
|
/**
|
|
4948
5105
|
* @author Daniel DeGroff
|
|
4949
5106
|
*/
|
|
4950
|
-
var
|
|
4951
|
-
(function (
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
5107
|
+
var FormControl;
|
|
5108
|
+
(function (FormControl) {
|
|
5109
|
+
FormControl["checkbox"] = "checkbox";
|
|
5110
|
+
FormControl["number"] = "number";
|
|
5111
|
+
FormControl["password"] = "password";
|
|
5112
|
+
FormControl["radio"] = "radio";
|
|
5113
|
+
FormControl["select"] = "select";
|
|
5114
|
+
FormControl["textarea"] = "textarea";
|
|
5115
|
+
FormControl["text"] = "text";
|
|
5116
|
+
})(FormControl = exports.FormControl || (exports.FormControl = {}));
|
|
4958
5117
|
var BreachMatchMode;
|
|
4959
5118
|
(function (BreachMatchMode) {
|
|
4960
5119
|
BreachMatchMode["Low"] = "Low";
|
|
@@ -4962,84 +5121,57 @@ var BreachMatchMode;
|
|
|
4962
5121
|
BreachMatchMode["High"] = "High";
|
|
4963
5122
|
})(BreachMatchMode = exports.BreachMatchMode || (exports.BreachMatchMode = {}));
|
|
4964
5123
|
/**
|
|
4965
|
-
*
|
|
5124
|
+
* COSE key type
|
|
4966
5125
|
*
|
|
4967
|
-
* @author
|
|
4968
|
-
*/
|
|
4969
|
-
var CanonicalizationMethod;
|
|
4970
|
-
(function (CanonicalizationMethod) {
|
|
4971
|
-
CanonicalizationMethod["exclusive"] = "exclusive";
|
|
4972
|
-
CanonicalizationMethod["exclusive_with_comments"] = "exclusive_with_comments";
|
|
4973
|
-
CanonicalizationMethod["inclusive"] = "inclusive";
|
|
4974
|
-
CanonicalizationMethod["inclusive_with_comments"] = "inclusive_with_comments";
|
|
4975
|
-
})(CanonicalizationMethod = exports.CanonicalizationMethod || (exports.CanonicalizationMethod = {}));
|
|
4976
|
-
/**
|
|
4977
|
-
* @author Brett Pontarelli
|
|
4978
|
-
*/
|
|
4979
|
-
var CaptchaMethod;
|
|
4980
|
-
(function (CaptchaMethod) {
|
|
4981
|
-
CaptchaMethod["GoogleRecaptchaV2"] = "GoogleRecaptchaV2";
|
|
4982
|
-
CaptchaMethod["GoogleRecaptchaV3"] = "GoogleRecaptchaV3";
|
|
4983
|
-
CaptchaMethod["HCaptcha"] = "HCaptcha";
|
|
4984
|
-
CaptchaMethod["HCaptchaEnterprise"] = "HCaptchaEnterprise";
|
|
4985
|
-
})(CaptchaMethod = exports.CaptchaMethod || (exports.CaptchaMethod = {}));
|
|
4986
|
-
/**
|
|
4987
|
-
* @author Trevor Smith
|
|
5126
|
+
* @author Spencer Witt
|
|
4988
5127
|
*/
|
|
4989
|
-
var
|
|
4990
|
-
(function (
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
(function (ClientAuthenticationMethod) {
|
|
4998
|
-
ClientAuthenticationMethod["none"] = "none";
|
|
4999
|
-
ClientAuthenticationMethod["client_secret_basic"] = "client_secret_basic";
|
|
5000
|
-
ClientAuthenticationMethod["client_secret_post"] = "client_secret_post";
|
|
5001
|
-
})(ClientAuthenticationMethod = exports.ClientAuthenticationMethod || (exports.ClientAuthenticationMethod = {}));
|
|
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 = {}));
|
|
5002
5136
|
/**
|
|
5003
|
-
* @author
|
|
5137
|
+
* @author Lyle Schemmerling
|
|
5004
5138
|
*/
|
|
5005
|
-
var
|
|
5006
|
-
(function (
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
})(
|
|
5139
|
+
var SAMLv2DestinationAssertionPolicy;
|
|
5140
|
+
(function (SAMLv2DestinationAssertionPolicy) {
|
|
5141
|
+
SAMLv2DestinationAssertionPolicy["Enabled"] = "Enabled";
|
|
5142
|
+
SAMLv2DestinationAssertionPolicy["Disabled"] = "Disabled";
|
|
5143
|
+
SAMLv2DestinationAssertionPolicy["AllowAlternates"] = "AllowAlternates";
|
|
5144
|
+
})(SAMLv2DestinationAssertionPolicy = exports.SAMLv2DestinationAssertionPolicy || (exports.SAMLv2DestinationAssertionPolicy = {}));
|
|
5011
5145
|
/**
|
|
5012
|
-
*
|
|
5146
|
+
* Defines valid credential types. This is an extension point in the WebAuthn spec. The only defined value at this time is "public-key"
|
|
5013
5147
|
*
|
|
5014
|
-
* @author
|
|
5148
|
+
* @author Spencer Witt
|
|
5015
5149
|
*/
|
|
5016
|
-
var
|
|
5017
|
-
(function (
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
ConnectorType["LDAP"] = "LDAP";
|
|
5021
|
-
})(ConnectorType = exports.ConnectorType || (exports.ConnectorType = {}));
|
|
5150
|
+
var PublicKeyCredentialType;
|
|
5151
|
+
(function (PublicKeyCredentialType) {
|
|
5152
|
+
PublicKeyCredentialType["publicKey"] = "public-key";
|
|
5153
|
+
})(PublicKeyCredentialType = exports.PublicKeyCredentialType || (exports.PublicKeyCredentialType = {}));
|
|
5022
5154
|
/**
|
|
5023
|
-
* Models a consent.
|
|
5024
|
-
*
|
|
5025
5155
|
* @author Daniel DeGroff
|
|
5026
5156
|
*/
|
|
5027
|
-
var
|
|
5028
|
-
(function (
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
})(
|
|
5157
|
+
var FormFieldAdminPolicy;
|
|
5158
|
+
(function (FormFieldAdminPolicy) {
|
|
5159
|
+
FormFieldAdminPolicy["Edit"] = "Edit";
|
|
5160
|
+
FormFieldAdminPolicy["View"] = "View";
|
|
5161
|
+
})(FormFieldAdminPolicy = exports.FormFieldAdminPolicy || (exports.FormFieldAdminPolicy = {}));
|
|
5032
5162
|
/**
|
|
5033
|
-
*
|
|
5034
|
-
*
|
|
5035
|
-
* @author Brian Pontarelli
|
|
5163
|
+
* @author Daniel DeGroff
|
|
5036
5164
|
*/
|
|
5037
|
-
var
|
|
5038
|
-
(function (
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
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 = {}));
|
|
5043
5175
|
/**
|
|
5044
5176
|
* A number identifying a cryptographic algorithm. Values should be registered with the <a
|
|
5045
5177
|
* href="https://www.iana.org/assignments/cose/cose.xhtml#algorithms">IANA COSE Algorithms registry</a>
|
|
@@ -5059,35 +5191,94 @@ var CoseAlgorithmIdentifier;
|
|
|
5059
5191
|
CoseAlgorithmIdentifier["PS512"] = "SHA-512";
|
|
5060
5192
|
})(CoseAlgorithmIdentifier = exports.CoseAlgorithmIdentifier || (exports.CoseAlgorithmIdentifier = {}));
|
|
5061
5193
|
/**
|
|
5062
|
-
*
|
|
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
|
|
5063
5227
|
*
|
|
5064
5228
|
* @author Spencer Witt
|
|
5065
5229
|
*/
|
|
5066
|
-
var
|
|
5067
|
-
(function (
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
CoseEllipticCurve["X448"] = "X448";
|
|
5074
|
-
CoseEllipticCurve["Ed25519"] = "Ed25519";
|
|
5075
|
-
CoseEllipticCurve["Ed448"] = "Ed448";
|
|
5076
|
-
CoseEllipticCurve["Secp256k1"] = "Secp256k1";
|
|
5077
|
-
})(CoseEllipticCurve = exports.CoseEllipticCurve || (exports.CoseEllipticCurve = {}));
|
|
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 = {}));
|
|
5078
5237
|
/**
|
|
5079
|
-
*
|
|
5238
|
+
* @author Daniel DeGroff
|
|
5239
|
+
*/
|
|
5240
|
+
var ObjectState;
|
|
5241
|
+
(function (ObjectState) {
|
|
5242
|
+
ObjectState["Active"] = "Active";
|
|
5243
|
+
ObjectState["Inactive"] = "Inactive";
|
|
5244
|
+
ObjectState["PendingDelete"] = "PendingDelete";
|
|
5245
|
+
})(ObjectState = exports.ObjectState || (exports.ObjectState = {}));
|
|
5246
|
+
/**
|
|
5247
|
+
* @author Brett Pontarelli
|
|
5248
|
+
*/
|
|
5249
|
+
var AuthenticationThreats;
|
|
5250
|
+
(function (AuthenticationThreats) {
|
|
5251
|
+
AuthenticationThreats["ImpossibleTravel"] = "ImpossibleTravel";
|
|
5252
|
+
})(AuthenticationThreats = exports.AuthenticationThreats || (exports.AuthenticationThreats = {}));
|
|
5253
|
+
/**
|
|
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")
|
|
5080
5256
|
*
|
|
5081
5257
|
* @author Spencer Witt
|
|
5082
5258
|
*/
|
|
5083
|
-
var
|
|
5084
|
-
(function (
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5259
|
+
var ResidentKeyRequirement;
|
|
5260
|
+
(function (ResidentKeyRequirement) {
|
|
5261
|
+
ResidentKeyRequirement["discouraged"] = "discouraged";
|
|
5262
|
+
ResidentKeyRequirement["preferred"] = "preferred";
|
|
5263
|
+
ResidentKeyRequirement["required"] = "required";
|
|
5264
|
+
})(ResidentKeyRequirement = exports.ResidentKeyRequirement || (exports.ResidentKeyRequirement = {}));
|
|
5265
|
+
/**
|
|
5266
|
+
* @author Brett Guy
|
|
5267
|
+
*/
|
|
5268
|
+
var ClientAuthenticationPolicy;
|
|
5269
|
+
(function (ClientAuthenticationPolicy) {
|
|
5270
|
+
ClientAuthenticationPolicy["Required"] = "Required";
|
|
5271
|
+
ClientAuthenticationPolicy["NotRequired"] = "NotRequired";
|
|
5272
|
+
ClientAuthenticationPolicy["NotRequiredWhenUsingPKCE"] = "NotRequiredWhenUsingPKCE";
|
|
5273
|
+
})(ClientAuthenticationPolicy = exports.ClientAuthenticationPolicy || (exports.ClientAuthenticationPolicy = {}));
|
|
5274
|
+
/**
|
|
5275
|
+
* @author Daniel DeGroff
|
|
5276
|
+
*/
|
|
5277
|
+
var RefreshTokenUsagePolicy;
|
|
5278
|
+
(function (RefreshTokenUsagePolicy) {
|
|
5279
|
+
RefreshTokenUsagePolicy["Reusable"] = "Reusable";
|
|
5280
|
+
RefreshTokenUsagePolicy["OneTimeUse"] = "OneTimeUse";
|
|
5281
|
+
})(RefreshTokenUsagePolicy = exports.RefreshTokenUsagePolicy || (exports.RefreshTokenUsagePolicy = {}));
|
|
5091
5282
|
var DeviceType;
|
|
5092
5283
|
(function (DeviceType) {
|
|
5093
5284
|
DeviceType["BROWSER"] = "BROWSER";
|
|
@@ -5100,244 +5291,51 @@ var DeviceType;
|
|
|
5100
5291
|
DeviceType["TV"] = "TV";
|
|
5101
5292
|
DeviceType["UNKNOWN"] = "UNKNOWN";
|
|
5102
5293
|
})(DeviceType = exports.DeviceType || (exports.DeviceType = {}));
|
|
5103
|
-
var EmailSecurityType;
|
|
5104
|
-
(function (EmailSecurityType) {
|
|
5105
|
-
EmailSecurityType["NONE"] = "NONE";
|
|
5106
|
-
EmailSecurityType["SSL"] = "SSL";
|
|
5107
|
-
EmailSecurityType["TLS"] = "TLS";
|
|
5108
|
-
})(EmailSecurityType = exports.EmailSecurityType || (exports.EmailSecurityType = {}));
|
|
5109
5294
|
/**
|
|
5110
|
-
*
|
|
5111
|
-
|
|
5295
|
+
* @author Brett Pontarelli
|
|
5296
|
+
*/
|
|
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 = {}));
|
|
5304
|
+
var KeyAlgorithm;
|
|
5305
|
+
(function (KeyAlgorithm) {
|
|
5306
|
+
KeyAlgorithm["ES256"] = "ES256";
|
|
5307
|
+
KeyAlgorithm["ES384"] = "ES384";
|
|
5308
|
+
KeyAlgorithm["ES512"] = "ES512";
|
|
5309
|
+
KeyAlgorithm["HS256"] = "HS256";
|
|
5310
|
+
KeyAlgorithm["HS384"] = "HS384";
|
|
5311
|
+
KeyAlgorithm["HS512"] = "HS512";
|
|
5312
|
+
KeyAlgorithm["RS256"] = "RS256";
|
|
5313
|
+
KeyAlgorithm["RS384"] = "RS384";
|
|
5314
|
+
KeyAlgorithm["RS512"] = "RS512";
|
|
5315
|
+
})(KeyAlgorithm = exports.KeyAlgorithm || (exports.KeyAlgorithm = {}));
|
|
5316
|
+
/**
|
|
5112
5317
|
* @author Daniel DeGroff
|
|
5113
5318
|
*/
|
|
5114
|
-
var
|
|
5115
|
-
(function (
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
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 = {}));
|
|
5120
5326
|
/**
|
|
5121
|
-
*
|
|
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
|
|
5122
5328
|
*
|
|
5123
|
-
* @author
|
|
5329
|
+
* @author Spencer Witt
|
|
5124
5330
|
*/
|
|
5125
|
-
var
|
|
5126
|
-
(function (
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
EventType["GroupCreate"] = "group.create";
|
|
5134
|
-
EventType["GroupCreateComplete"] = "group.create.complete";
|
|
5135
|
-
EventType["GroupDelete"] = "group.delete";
|
|
5136
|
-
EventType["GroupDeleteComplete"] = "group.delete.complete";
|
|
5137
|
-
EventType["GroupMemberAdd"] = "group.member.add";
|
|
5138
|
-
EventType["GroupMemberAddComplete"] = "group.member.add.complete";
|
|
5139
|
-
EventType["GroupMemberRemove"] = "group.member.remove";
|
|
5140
|
-
EventType["GroupMemberRemoveComplete"] = "group.member.remove.complete";
|
|
5141
|
-
EventType["GroupMemberUpdate"] = "group.member.update";
|
|
5142
|
-
EventType["GroupMemberUpdateComplete"] = "group.member.update.complete";
|
|
5143
|
-
EventType["GroupUpdate"] = "group.update";
|
|
5144
|
-
EventType["GroupUpdateComplete"] = "group.update.complete";
|
|
5145
|
-
EventType["UserAction"] = "user.action";
|
|
5146
|
-
EventType["UserBulkCreate"] = "user.bulk.create";
|
|
5147
|
-
EventType["UserCreate"] = "user.create";
|
|
5148
|
-
EventType["UserCreateComplete"] = "user.create.complete";
|
|
5149
|
-
EventType["UserDeactivate"] = "user.deactivate";
|
|
5150
|
-
EventType["UserDelete"] = "user.delete";
|
|
5151
|
-
EventType["UserDeleteComplete"] = "user.delete.complete";
|
|
5152
|
-
EventType["UserEmailUpdate"] = "user.email.update";
|
|
5153
|
-
EventType["UserEmailVerified"] = "user.email.verified";
|
|
5154
|
-
EventType["UserIdentityProviderLink"] = "user.identity-provider.link";
|
|
5155
|
-
EventType["UserIdentityProviderUnlink"] = "user.identity-provider.unlink";
|
|
5156
|
-
EventType["UserLoginIdDuplicateOnCreate"] = "user.loginId.duplicate.create";
|
|
5157
|
-
EventType["UserLoginIdDuplicateOnUpdate"] = "user.loginId.duplicate.update";
|
|
5158
|
-
EventType["UserLoginFailed"] = "user.login.failed";
|
|
5159
|
-
EventType["UserLoginNewDevice"] = "user.login.new-device";
|
|
5160
|
-
EventType["UserLoginSuccess"] = "user.login.success";
|
|
5161
|
-
EventType["UserLoginSuspicious"] = "user.login.suspicious";
|
|
5162
|
-
EventType["UserPasswordBreach"] = "user.password.breach";
|
|
5163
|
-
EventType["UserPasswordResetSend"] = "user.password.reset.send";
|
|
5164
|
-
EventType["UserPasswordResetStart"] = "user.password.reset.start";
|
|
5165
|
-
EventType["UserPasswordResetSuccess"] = "user.password.reset.success";
|
|
5166
|
-
EventType["UserPasswordUpdate"] = "user.password.update";
|
|
5167
|
-
EventType["UserReactivate"] = "user.reactivate";
|
|
5168
|
-
EventType["UserRegistrationCreate"] = "user.registration.create";
|
|
5169
|
-
EventType["UserRegistrationCreateComplete"] = "user.registration.create.complete";
|
|
5170
|
-
EventType["UserRegistrationDelete"] = "user.registration.delete";
|
|
5171
|
-
EventType["UserRegistrationDeleteComplete"] = "user.registration.delete.complete";
|
|
5172
|
-
EventType["UserRegistrationUpdate"] = "user.registration.update";
|
|
5173
|
-
EventType["UserRegistrationUpdateComplete"] = "user.registration.update.complete";
|
|
5174
|
-
EventType["UserRegistrationVerified"] = "user.registration.verified";
|
|
5175
|
-
EventType["UserTwoFactorMethodAdd"] = "user.two-factor.method.add";
|
|
5176
|
-
EventType["UserTwoFactorMethodRemove"] = "user.two-factor.method.remove";
|
|
5177
|
-
EventType["UserUpdate"] = "user.update";
|
|
5178
|
-
EventType["UserUpdateComplete"] = "user.update.complete";
|
|
5179
|
-
EventType["Test"] = "test";
|
|
5180
|
-
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
5181
|
-
/**
|
|
5182
|
-
* @author Brian Pontarelli
|
|
5183
|
-
*/
|
|
5184
|
-
var ExpiryUnit;
|
|
5185
|
-
(function (ExpiryUnit) {
|
|
5186
|
-
ExpiryUnit["MINUTES"] = "MINUTES";
|
|
5187
|
-
ExpiryUnit["HOURS"] = "HOURS";
|
|
5188
|
-
ExpiryUnit["DAYS"] = "DAYS";
|
|
5189
|
-
ExpiryUnit["WEEKS"] = "WEEKS";
|
|
5190
|
-
ExpiryUnit["MONTHS"] = "MONTHS";
|
|
5191
|
-
ExpiryUnit["YEARS"] = "YEARS";
|
|
5192
|
-
})(ExpiryUnit = exports.ExpiryUnit || (exports.ExpiryUnit = {}));
|
|
5193
|
-
var FamilyRole;
|
|
5194
|
-
(function (FamilyRole) {
|
|
5195
|
-
FamilyRole["Child"] = "Child";
|
|
5196
|
-
FamilyRole["Teen"] = "Teen";
|
|
5197
|
-
FamilyRole["Adult"] = "Adult";
|
|
5198
|
-
})(FamilyRole = exports.FamilyRole || (exports.FamilyRole = {}));
|
|
5199
|
-
/**
|
|
5200
|
-
* @author Daniel DeGroff
|
|
5201
|
-
*/
|
|
5202
|
-
var FormControl;
|
|
5203
|
-
(function (FormControl) {
|
|
5204
|
-
FormControl["checkbox"] = "checkbox";
|
|
5205
|
-
FormControl["number"] = "number";
|
|
5206
|
-
FormControl["password"] = "password";
|
|
5207
|
-
FormControl["radio"] = "radio";
|
|
5208
|
-
FormControl["select"] = "select";
|
|
5209
|
-
FormControl["textarea"] = "textarea";
|
|
5210
|
-
FormControl["text"] = "text";
|
|
5211
|
-
})(FormControl = exports.FormControl || (exports.FormControl = {}));
|
|
5212
|
-
/**
|
|
5213
|
-
* @author Daniel DeGroff
|
|
5214
|
-
*/
|
|
5215
|
-
var FormDataType;
|
|
5216
|
-
(function (FormDataType) {
|
|
5217
|
-
FormDataType["bool"] = "bool";
|
|
5218
|
-
FormDataType["consent"] = "consent";
|
|
5219
|
-
FormDataType["date"] = "date";
|
|
5220
|
-
FormDataType["email"] = "email";
|
|
5221
|
-
FormDataType["number"] = "number";
|
|
5222
|
-
FormDataType["string"] = "string";
|
|
5223
|
-
})(FormDataType = exports.FormDataType || (exports.FormDataType = {}));
|
|
5224
|
-
/**
|
|
5225
|
-
* @author Daniel DeGroff
|
|
5226
|
-
*/
|
|
5227
|
-
var FormFieldAdminPolicy;
|
|
5228
|
-
(function (FormFieldAdminPolicy) {
|
|
5229
|
-
FormFieldAdminPolicy["Edit"] = "Edit";
|
|
5230
|
-
FormFieldAdminPolicy["View"] = "View";
|
|
5231
|
-
})(FormFieldAdminPolicy = exports.FormFieldAdminPolicy || (exports.FormFieldAdminPolicy = {}));
|
|
5232
|
-
/**
|
|
5233
|
-
* @author Daniel DeGroff
|
|
5234
|
-
*/
|
|
5235
|
-
var FormType;
|
|
5236
|
-
(function (FormType) {
|
|
5237
|
-
FormType["registration"] = "registration";
|
|
5238
|
-
FormType["adminRegistration"] = "adminRegistration";
|
|
5239
|
-
FormType["adminUser"] = "adminUser";
|
|
5240
|
-
FormType["selfServiceUser"] = "selfServiceUser";
|
|
5241
|
-
})(FormType = exports.FormType || (exports.FormType = {}));
|
|
5242
|
-
/**
|
|
5243
|
-
* Authorization Grant types as defined by the <a href="https://tools.ietf.org/html/rfc6749">The OAuth 2.0 Authorization
|
|
5244
|
-
* Framework - RFC 6749</a>.
|
|
5245
|
-
* <p>
|
|
5246
|
-
* Specific names as defined by <a href="https://tools.ietf.org/html/rfc7591#section-4.1">
|
|
5247
|
-
* OAuth 2.0 Dynamic Client Registration Protocol - RFC 7591 Section 4.1</a>
|
|
5248
|
-
*
|
|
5249
|
-
* @author Daniel DeGroff
|
|
5250
|
-
*/
|
|
5251
|
-
var GrantType;
|
|
5252
|
-
(function (GrantType) {
|
|
5253
|
-
GrantType["authorization_code"] = "authorization_code";
|
|
5254
|
-
GrantType["implicit"] = "implicit";
|
|
5255
|
-
GrantType["password"] = "password";
|
|
5256
|
-
GrantType["client_credentials"] = "client_credentials";
|
|
5257
|
-
GrantType["refresh_token"] = "refresh_token";
|
|
5258
|
-
GrantType["unknown"] = "unknown";
|
|
5259
|
-
GrantType["device_code"] = "urn:ietf:params:oauth:grant-type:device_code";
|
|
5260
|
-
})(GrantType = exports.GrantType || (exports.GrantType = {}));
|
|
5261
|
-
/**
|
|
5262
|
-
* @author Daniel DeGroff
|
|
5263
|
-
*/
|
|
5264
|
-
var HTTPMethod;
|
|
5265
|
-
(function (HTTPMethod) {
|
|
5266
|
-
HTTPMethod["GET"] = "GET";
|
|
5267
|
-
HTTPMethod["POST"] = "POST";
|
|
5268
|
-
HTTPMethod["PUT"] = "PUT";
|
|
5269
|
-
HTTPMethod["DELETE"] = "DELETE";
|
|
5270
|
-
HTTPMethod["HEAD"] = "HEAD";
|
|
5271
|
-
HTTPMethod["OPTIONS"] = "OPTIONS";
|
|
5272
|
-
HTTPMethod["PATCH"] = "PATCH";
|
|
5273
|
-
})(HTTPMethod = exports.HTTPMethod || (exports.HTTPMethod = {}));
|
|
5274
|
-
/**
|
|
5275
|
-
* The IdP behavior when no user link has been made yet.
|
|
5276
|
-
*
|
|
5277
|
-
* @author Daniel DeGroff
|
|
5278
|
-
*/
|
|
5279
|
-
var IdentityProviderLinkingStrategy;
|
|
5280
|
-
(function (IdentityProviderLinkingStrategy) {
|
|
5281
|
-
IdentityProviderLinkingStrategy["CreatePendingLink"] = "CreatePendingLink";
|
|
5282
|
-
IdentityProviderLinkingStrategy["Disabled"] = "Disabled";
|
|
5283
|
-
IdentityProviderLinkingStrategy["LinkAnonymously"] = "LinkAnonymously";
|
|
5284
|
-
IdentityProviderLinkingStrategy["LinkByEmail"] = "LinkByEmail";
|
|
5285
|
-
IdentityProviderLinkingStrategy["LinkByEmailForExistingUser"] = "LinkByEmailForExistingUser";
|
|
5286
|
-
IdentityProviderLinkingStrategy["LinkByUsername"] = "LinkByUsername";
|
|
5287
|
-
IdentityProviderLinkingStrategy["LinkByUsernameForExistingUser"] = "LinkByUsernameForExistingUser";
|
|
5288
|
-
IdentityProviderLinkingStrategy["Unsupported"] = "Unsupported";
|
|
5289
|
-
})(IdentityProviderLinkingStrategy = exports.IdentityProviderLinkingStrategy || (exports.IdentityProviderLinkingStrategy = {}));
|
|
5290
|
-
/**
|
|
5291
|
-
* @author Brett Pontarelli
|
|
5292
|
-
*/
|
|
5293
|
-
var IdentityProviderLoginMethod;
|
|
5294
|
-
(function (IdentityProviderLoginMethod) {
|
|
5295
|
-
IdentityProviderLoginMethod["UsePopup"] = "UsePopup";
|
|
5296
|
-
IdentityProviderLoginMethod["UseRedirect"] = "UseRedirect";
|
|
5297
|
-
IdentityProviderLoginMethod["UseVendorJavaScript"] = "UseVendorJavaScript";
|
|
5298
|
-
})(IdentityProviderLoginMethod = exports.IdentityProviderLoginMethod || (exports.IdentityProviderLoginMethod = {}));
|
|
5299
|
-
/**
|
|
5300
|
-
* @author Daniel DeGroff
|
|
5301
|
-
*/
|
|
5302
|
-
var IdentityProviderType;
|
|
5303
|
-
(function (IdentityProviderType) {
|
|
5304
|
-
IdentityProviderType["Apple"] = "Apple";
|
|
5305
|
-
IdentityProviderType["EpicGames"] = "EpicGames";
|
|
5306
|
-
IdentityProviderType["ExternalJWT"] = "ExternalJWT";
|
|
5307
|
-
IdentityProviderType["Facebook"] = "Facebook";
|
|
5308
|
-
IdentityProviderType["Google"] = "Google";
|
|
5309
|
-
IdentityProviderType["HYPR"] = "HYPR";
|
|
5310
|
-
IdentityProviderType["LinkedIn"] = "LinkedIn";
|
|
5311
|
-
IdentityProviderType["Nintendo"] = "Nintendo";
|
|
5312
|
-
IdentityProviderType["OpenIDConnect"] = "OpenIDConnect";
|
|
5313
|
-
IdentityProviderType["SAMLv2"] = "SAMLv2";
|
|
5314
|
-
IdentityProviderType["SAMLv2IdPInitiated"] = "SAMLv2IdPInitiated";
|
|
5315
|
-
IdentityProviderType["SonyPSN"] = "SonyPSN";
|
|
5316
|
-
IdentityProviderType["Steam"] = "Steam";
|
|
5317
|
-
IdentityProviderType["Twitch"] = "Twitch";
|
|
5318
|
-
IdentityProviderType["Twitter"] = "Twitter";
|
|
5319
|
-
IdentityProviderType["Xbox"] = "Xbox";
|
|
5320
|
-
})(IdentityProviderType = exports.IdentityProviderType || (exports.IdentityProviderType = {}));
|
|
5321
|
-
/**
|
|
5322
|
-
* @author Brett Guy
|
|
5323
|
-
*/
|
|
5324
|
-
var IPAccessControlEntryAction;
|
|
5325
|
-
(function (IPAccessControlEntryAction) {
|
|
5326
|
-
IPAccessControlEntryAction["Allow"] = "Allow";
|
|
5327
|
-
IPAccessControlEntryAction["Block"] = "Block";
|
|
5328
|
-
})(IPAccessControlEntryAction = exports.IPAccessControlEntryAction || (exports.IPAccessControlEntryAction = {}));
|
|
5329
|
-
var KeyAlgorithm;
|
|
5330
|
-
(function (KeyAlgorithm) {
|
|
5331
|
-
KeyAlgorithm["ES256"] = "ES256";
|
|
5332
|
-
KeyAlgorithm["ES384"] = "ES384";
|
|
5333
|
-
KeyAlgorithm["ES512"] = "ES512";
|
|
5334
|
-
KeyAlgorithm["HS256"] = "HS256";
|
|
5335
|
-
KeyAlgorithm["HS384"] = "HS384";
|
|
5336
|
-
KeyAlgorithm["HS512"] = "HS512";
|
|
5337
|
-
KeyAlgorithm["RS256"] = "RS256";
|
|
5338
|
-
KeyAlgorithm["RS384"] = "RS384";
|
|
5339
|
-
KeyAlgorithm["RS512"] = "RS512";
|
|
5340
|
-
})(KeyAlgorithm = exports.KeyAlgorithm || (exports.KeyAlgorithm = {}));
|
|
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 = {}));
|
|
5341
5339
|
var KeyType;
|
|
5342
5340
|
(function (KeyType) {
|
|
5343
5341
|
KeyType["EC"] = "EC";
|
|
@@ -5345,165 +5343,99 @@ var KeyType;
|
|
|
5345
5343
|
KeyType["HMAC"] = "HMAC";
|
|
5346
5344
|
})(KeyType = exports.KeyType || (exports.KeyType = {}));
|
|
5347
5345
|
/**
|
|
5348
|
-
* The
|
|
5346
|
+
* The types of connectors. This enum is stored as an ordinal on the <code>identities</code> table, order must be maintained.
|
|
5349
5347
|
*
|
|
5350
|
-
* @author
|
|
5348
|
+
* @author Trevor Smith
|
|
5351
5349
|
*/
|
|
5352
|
-
var
|
|
5353
|
-
(function (
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
})(
|
|
5350
|
+
var ConnectorType;
|
|
5351
|
+
(function (ConnectorType) {
|
|
5352
|
+
ConnectorType["FusionAuth"] = "FusionAuth";
|
|
5353
|
+
ConnectorType["Generic"] = "Generic";
|
|
5354
|
+
ConnectorType["LDAP"] = "LDAP";
|
|
5355
|
+
})(ConnectorType = exports.ConnectorType || (exports.ConnectorType = {}));
|
|
5358
5356
|
/**
|
|
5359
5357
|
* @author Daniel DeGroff
|
|
5360
5358
|
*/
|
|
5361
|
-
var
|
|
5362
|
-
(function (
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5359
|
+
var MultiFactorLoginPolicy;
|
|
5360
|
+
(function (MultiFactorLoginPolicy) {
|
|
5361
|
+
MultiFactorLoginPolicy["Disabled"] = "Disabled";
|
|
5362
|
+
MultiFactorLoginPolicy["Enabled"] = "Enabled";
|
|
5363
|
+
MultiFactorLoginPolicy["Required"] = "Required";
|
|
5364
|
+
})(MultiFactorLoginPolicy = exports.MultiFactorLoginPolicy || (exports.MultiFactorLoginPolicy = {}));
|
|
5366
5365
|
/**
|
|
5367
|
-
*
|
|
5366
|
+
* Describes the <a href="https://www.w3.org/TR/webauthn-2/#authenticator-attachment-modality">authenticator attachment modality</a>.
|
|
5368
5367
|
*
|
|
5369
|
-
* @author
|
|
5368
|
+
* @author Spencer Witt
|
|
5370
5369
|
*/
|
|
5371
|
-
var
|
|
5372
|
-
(function (
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
LambdaType["SCIMServerGroupResponseConverter"] = "SCIMServerGroupResponseConverter";
|
|
5394
|
-
LambdaType["SCIMServerUserRequestConverter"] = "SCIMServerUserRequestConverter";
|
|
5395
|
-
LambdaType["SCIMServerUserResponseConverter"] = "SCIMServerUserResponseConverter";
|
|
5396
|
-
LambdaType["SelfServiceRegistrationValidation"] = "SelfServiceRegistrationValidation";
|
|
5397
|
-
})(LambdaType = exports.LambdaType || (exports.LambdaType = {}));
|
|
5398
|
-
var LDAPSecurityMethod;
|
|
5399
|
-
(function (LDAPSecurityMethod) {
|
|
5400
|
-
LDAPSecurityMethod["None"] = "None";
|
|
5401
|
-
LDAPSecurityMethod["LDAPS"] = "LDAPS";
|
|
5402
|
-
LDAPSecurityMethod["StartTLS"] = "StartTLS";
|
|
5403
|
-
})(LDAPSecurityMethod = exports.LDAPSecurityMethod || (exports.LDAPSecurityMethod = {}));
|
|
5370
|
+
var AuthenticatorAttachment;
|
|
5371
|
+
(function (AuthenticatorAttachment) {
|
|
5372
|
+
AuthenticatorAttachment["platform"] = "platform";
|
|
5373
|
+
AuthenticatorAttachment["crossPlatform"] = "crossPlatform";
|
|
5374
|
+
})(AuthenticatorAttachment = exports.AuthenticatorAttachment || (exports.AuthenticatorAttachment = {}));
|
|
5375
|
+
/**
|
|
5376
|
+
* COSE Elliptic Curve identifier to determine which elliptic curve to use with a given key
|
|
5377
|
+
*
|
|
5378
|
+
* @author Spencer Witt
|
|
5379
|
+
*/
|
|
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 = {}));
|
|
5404
5392
|
var LoginIdType;
|
|
5405
5393
|
(function (LoginIdType) {
|
|
5406
5394
|
LoginIdType["email"] = "email";
|
|
5407
5395
|
LoginIdType["username"] = "username";
|
|
5408
5396
|
})(LoginIdType = exports.LoginIdType || (exports.LoginIdType = {}));
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
(
|
|
5414
|
-
LogoutBehavior["RedirectOnly"] = "RedirectOnly";
|
|
5415
|
-
LogoutBehavior["AllApplications"] = "AllApplications";
|
|
5416
|
-
})(LogoutBehavior = exports.LogoutBehavior || (exports.LogoutBehavior = {}));
|
|
5417
|
-
/**
|
|
5418
|
-
* @author Mikey Sleevi
|
|
5419
|
-
*/
|
|
5420
|
-
var MessageType;
|
|
5421
|
-
(function (MessageType) {
|
|
5422
|
-
MessageType["SMS"] = "SMS";
|
|
5423
|
-
})(MessageType = exports.MessageType || (exports.MessageType = {}));
|
|
5424
|
-
/**
|
|
5425
|
-
* @author Brett Guy
|
|
5426
|
-
*/
|
|
5427
|
-
var MessengerType;
|
|
5428
|
-
(function (MessengerType) {
|
|
5429
|
-
MessengerType["Generic"] = "Generic";
|
|
5430
|
-
MessengerType["Kafka"] = "Kafka";
|
|
5431
|
-
MessengerType["Twilio"] = "Twilio";
|
|
5432
|
-
})(MessengerType = exports.MessengerType || (exports.MessengerType = {}));
|
|
5397
|
+
var RegistrationType;
|
|
5398
|
+
(function (RegistrationType) {
|
|
5399
|
+
RegistrationType["basic"] = "basic";
|
|
5400
|
+
RegistrationType["advanced"] = "advanced";
|
|
5401
|
+
})(RegistrationType = exports.RegistrationType || (exports.RegistrationType = {}));
|
|
5433
5402
|
/**
|
|
5434
5403
|
* @author Daniel DeGroff
|
|
5435
5404
|
*/
|
|
5436
|
-
var
|
|
5437
|
-
(function (
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
})(
|
|
5405
|
+
var RefreshTokenExpirationPolicy;
|
|
5406
|
+
(function (RefreshTokenExpirationPolicy) {
|
|
5407
|
+
RefreshTokenExpirationPolicy["Fixed"] = "Fixed";
|
|
5408
|
+
RefreshTokenExpirationPolicy["SlidingWindow"] = "SlidingWindow";
|
|
5409
|
+
RefreshTokenExpirationPolicy["SlidingWindowWithMaximumLifetime"] = "SlidingWindowWithMaximumLifetime";
|
|
5410
|
+
})(RefreshTokenExpirationPolicy = exports.RefreshTokenExpirationPolicy || (exports.RefreshTokenExpirationPolicy = {}));
|
|
5442
5411
|
/**
|
|
5443
|
-
* @author
|
|
5412
|
+
* @author Daniel DeGroff
|
|
5444
5413
|
*/
|
|
5445
|
-
var
|
|
5446
|
-
(function (
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
})(
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
OAuthErrorReason["invalid_id_token_hint"] = "invalid_id_token_hint";
|
|
5471
|
-
OAuthErrorReason["invalid_post_logout_redirect_uri"] = "invalid_post_logout_redirect_uri";
|
|
5472
|
-
OAuthErrorReason["invalid_device_code"] = "invalid_device_code";
|
|
5473
|
-
OAuthErrorReason["invalid_user_code"] = "invalid_user_code";
|
|
5474
|
-
OAuthErrorReason["invalid_additional_client_id"] = "invalid_additional_client_id";
|
|
5475
|
-
OAuthErrorReason["invalid_target_entity_scope"] = "invalid_target_entity_scope";
|
|
5476
|
-
OAuthErrorReason["invalid_entity_permission_scope"] = "invalid_entity_permission_scope";
|
|
5477
|
-
OAuthErrorReason["grant_type_disabled"] = "grant_type_disabled";
|
|
5478
|
-
OAuthErrorReason["missing_client_id"] = "missing_client_id";
|
|
5479
|
-
OAuthErrorReason["missing_client_secret"] = "missing_client_secret";
|
|
5480
|
-
OAuthErrorReason["missing_code"] = "missing_code";
|
|
5481
|
-
OAuthErrorReason["missing_code_challenge"] = "missing_code_challenge";
|
|
5482
|
-
OAuthErrorReason["missing_code_verifier"] = "missing_code_verifier";
|
|
5483
|
-
OAuthErrorReason["missing_device_code"] = "missing_device_code";
|
|
5484
|
-
OAuthErrorReason["missing_grant_type"] = "missing_grant_type";
|
|
5485
|
-
OAuthErrorReason["missing_redirect_uri"] = "missing_redirect_uri";
|
|
5486
|
-
OAuthErrorReason["missing_refresh_token"] = "missing_refresh_token";
|
|
5487
|
-
OAuthErrorReason["missing_response_type"] = "missing_response_type";
|
|
5488
|
-
OAuthErrorReason["missing_token"] = "missing_token";
|
|
5489
|
-
OAuthErrorReason["missing_user_code"] = "missing_user_code";
|
|
5490
|
-
OAuthErrorReason["missing_verification_uri"] = "missing_verification_uri";
|
|
5491
|
-
OAuthErrorReason["login_prevented"] = "login_prevented";
|
|
5492
|
-
OAuthErrorReason["not_licensed"] = "not_licensed";
|
|
5493
|
-
OAuthErrorReason["user_code_expired"] = "user_code_expired";
|
|
5494
|
-
OAuthErrorReason["user_expired"] = "user_expired";
|
|
5495
|
-
OAuthErrorReason["user_locked"] = "user_locked";
|
|
5496
|
-
OAuthErrorReason["user_not_found"] = "user_not_found";
|
|
5497
|
-
OAuthErrorReason["client_authentication_missing"] = "client_authentication_missing";
|
|
5498
|
-
OAuthErrorReason["invalid_client_authentication_scheme"] = "invalid_client_authentication_scheme";
|
|
5499
|
-
OAuthErrorReason["invalid_client_authentication"] = "invalid_client_authentication";
|
|
5500
|
-
OAuthErrorReason["client_id_mismatch"] = "client_id_mismatch";
|
|
5501
|
-
OAuthErrorReason["change_password_administrative"] = "change_password_administrative";
|
|
5502
|
-
OAuthErrorReason["change_password_breached"] = "change_password_breached";
|
|
5503
|
-
OAuthErrorReason["change_password_expired"] = "change_password_expired";
|
|
5504
|
-
OAuthErrorReason["change_password_validation"] = "change_password_validation";
|
|
5505
|
-
OAuthErrorReason["unknown"] = "unknown";
|
|
5506
|
-
})(OAuthErrorReason = exports.OAuthErrorReason || (exports.OAuthErrorReason = {}));
|
|
5414
|
+
var UnverifiedBehavior;
|
|
5415
|
+
(function (UnverifiedBehavior) {
|
|
5416
|
+
UnverifiedBehavior["Allow"] = "Allow";
|
|
5417
|
+
UnverifiedBehavior["Gated"] = "Gated";
|
|
5418
|
+
})(UnverifiedBehavior = exports.UnverifiedBehavior || (exports.UnverifiedBehavior = {}));
|
|
5419
|
+
/**
|
|
5420
|
+
* The phases of a time-based user action.
|
|
5421
|
+
*
|
|
5422
|
+
* @author Brian Pontarelli
|
|
5423
|
+
*/
|
|
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 = {}));
|
|
5431
|
+
/**
|
|
5432
|
+
* @author Daniel DeGroff
|
|
5433
|
+
*/
|
|
5434
|
+
var LambdaEngineType;
|
|
5435
|
+
(function (LambdaEngineType) {
|
|
5436
|
+
LambdaEngineType["GraalJS"] = "GraalJS";
|
|
5437
|
+
LambdaEngineType["Nashorn"] = "Nashorn";
|
|
5438
|
+
})(LambdaEngineType = exports.LambdaEngineType || (exports.LambdaEngineType = {}));
|
|
5507
5439
|
var OAuthErrorType;
|
|
5508
5440
|
(function (OAuthErrorType) {
|
|
5509
5441
|
OAuthErrorType["invalid_request"] = "invalid_request";
|
|
@@ -5525,118 +5457,113 @@ var OAuthErrorType;
|
|
|
5525
5457
|
/**
|
|
5526
5458
|
* @author Daniel DeGroff
|
|
5527
5459
|
*/
|
|
5528
|
-
var
|
|
5529
|
-
(function (
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
(function (ProofKeyForCodeExchangePolicy) {
|
|
5539
|
-
ProofKeyForCodeExchangePolicy["Required"] = "Required";
|
|
5540
|
-
ProofKeyForCodeExchangePolicy["NotRequired"] = "NotRequired";
|
|
5541
|
-
ProofKeyForCodeExchangePolicy["NotRequiredWhenUsingClientAuthentication"] = "NotRequiredWhenUsingClientAuthentication";
|
|
5542
|
-
})(ProofKeyForCodeExchangePolicy = exports.ProofKeyForCodeExchangePolicy || (exports.ProofKeyForCodeExchangePolicy = {}));
|
|
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 = {}));
|
|
5543
5470
|
/**
|
|
5544
|
-
*
|
|
5471
|
+
* The IdP behavior when no user link has been made yet.
|
|
5545
5472
|
*
|
|
5546
|
-
* @author Spencer Witt
|
|
5547
|
-
*/
|
|
5548
|
-
var PublicKeyCredentialType;
|
|
5549
|
-
(function (PublicKeyCredentialType) {
|
|
5550
|
-
PublicKeyCredentialType["publicKey"] = "public-key";
|
|
5551
|
-
})(PublicKeyCredentialType = exports.PublicKeyCredentialType || (exports.PublicKeyCredentialType = {}));
|
|
5552
|
-
/**
|
|
5553
5473
|
* @author Daniel DeGroff
|
|
5554
5474
|
*/
|
|
5555
|
-
var
|
|
5556
|
-
(function (
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
ReactorFeatureStatus["UNKNOWN"] = "UNKNOWN";
|
|
5574
|
-
})(ReactorFeatureStatus = exports.ReactorFeatureStatus || (exports.ReactorFeatureStatus = {}));
|
|
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 = {}));
|
|
5575
5493
|
/**
|
|
5494
|
+
* Event Log Type
|
|
5495
|
+
*
|
|
5576
5496
|
* @author Daniel DeGroff
|
|
5577
5497
|
*/
|
|
5578
|
-
var
|
|
5579
|
-
(function (
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5498
|
+
var EventLogType;
|
|
5499
|
+
(function (EventLogType) {
|
|
5500
|
+
EventLogType["Information"] = "Information";
|
|
5501
|
+
EventLogType["Debug"] = "Debug";
|
|
5502
|
+
EventLogType["Error"] = "Error";
|
|
5503
|
+
})(EventLogType = exports.EventLogType || (exports.EventLogType = {}));
|
|
5583
5504
|
/**
|
|
5505
|
+
* Available JSON Web Algorithms (JWA) as described in RFC 7518 available for this JWT implementation.
|
|
5506
|
+
*
|
|
5584
5507
|
* @author Daniel DeGroff
|
|
5585
5508
|
*/
|
|
5586
|
-
var
|
|
5587
|
-
(function (
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5509
|
+
var Algorithm;
|
|
5510
|
+
(function (Algorithm) {
|
|
5511
|
+
Algorithm["ES256"] = "ES256";
|
|
5512
|
+
Algorithm["ES384"] = "ES384";
|
|
5513
|
+
Algorithm["ES512"] = "ES512";
|
|
5514
|
+
Algorithm["HS256"] = "HS256";
|
|
5515
|
+
Algorithm["HS384"] = "HS384";
|
|
5516
|
+
Algorithm["HS512"] = "HS512";
|
|
5517
|
+
Algorithm["PS256"] = "PS256";
|
|
5518
|
+
Algorithm["PS384"] = "PS384";
|
|
5519
|
+
Algorithm["PS512"] = "PS512";
|
|
5520
|
+
Algorithm["RS256"] = "RS256";
|
|
5521
|
+
Algorithm["RS384"] = "RS384";
|
|
5522
|
+
Algorithm["RS512"] = "RS512";
|
|
5523
|
+
Algorithm["none"] = "none";
|
|
5524
|
+
})(Algorithm = exports.Algorithm || (exports.Algorithm = {}));
|
|
5596
5525
|
/**
|
|
5597
|
-
*
|
|
5598
|
-
* discoverable credentials</a> (formerly known as "resident keys")
|
|
5526
|
+
* The use type of a key.
|
|
5599
5527
|
*
|
|
5600
|
-
* @author
|
|
5601
|
-
*/
|
|
5602
|
-
var ResidentKeyRequirement;
|
|
5603
|
-
(function (ResidentKeyRequirement) {
|
|
5604
|
-
ResidentKeyRequirement["discouraged"] = "discouraged";
|
|
5605
|
-
ResidentKeyRequirement["preferred"] = "preferred";
|
|
5606
|
-
ResidentKeyRequirement["required"] = "required";
|
|
5607
|
-
})(ResidentKeyRequirement = exports.ResidentKeyRequirement || (exports.ResidentKeyRequirement = {}));
|
|
5608
|
-
var SAMLLogoutBehavior;
|
|
5609
|
-
(function (SAMLLogoutBehavior) {
|
|
5610
|
-
SAMLLogoutBehavior["AllParticipants"] = "AllParticipants";
|
|
5611
|
-
SAMLLogoutBehavior["OnlyOriginator"] = "OnlyOriginator";
|
|
5612
|
-
})(SAMLLogoutBehavior = exports.SAMLLogoutBehavior || (exports.SAMLLogoutBehavior = {}));
|
|
5613
|
-
/**
|
|
5614
|
-
* @author Lyle Schemmerling
|
|
5528
|
+
* @author Daniel DeGroff
|
|
5615
5529
|
*/
|
|
5616
|
-
var
|
|
5617
|
-
(function (
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
})(
|
|
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 = {}));
|
|
5622
5542
|
/**
|
|
5623
|
-
*
|
|
5543
|
+
* The transaction types for Webhooks and other event systems within FusionAuth.
|
|
5544
|
+
*
|
|
5545
|
+
* @author Brian Pontarelli
|
|
5624
5546
|
*/
|
|
5625
|
-
var
|
|
5626
|
-
(function (
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
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 = {}));
|
|
5632
5555
|
/**
|
|
5633
|
-
*
|
|
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.
|
|
5558
|
+
*
|
|
5559
|
+
* @author Spencer Witt
|
|
5634
5560
|
*/
|
|
5635
|
-
var
|
|
5636
|
-
(function (
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5561
|
+
var UserVerificationRequirement;
|
|
5562
|
+
(function (UserVerificationRequirement) {
|
|
5563
|
+
UserVerificationRequirement["required"] = "required";
|
|
5564
|
+
UserVerificationRequirement["preferred"] = "preferred";
|
|
5565
|
+
UserVerificationRequirement["discouraged"] = "discouraged";
|
|
5566
|
+
})(UserVerificationRequirement = exports.UserVerificationRequirement || (exports.UserVerificationRequirement = {}));
|
|
5640
5567
|
/**
|
|
5641
5568
|
* Steam API modes.
|
|
5642
5569
|
*
|
|
@@ -5648,40 +5575,137 @@ var SteamAPIMode;
|
|
|
5648
5575
|
SteamAPIMode["Partner"] = "Partner";
|
|
5649
5576
|
})(SteamAPIMode = exports.SteamAPIMode || (exports.SteamAPIMode = {}));
|
|
5650
5577
|
/**
|
|
5651
|
-
*
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5578
|
+
* @author Trevor Smith
|
|
5579
|
+
*/
|
|
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 = {}));
|
|
5593
|
+
/**
|
|
5594
|
+
* @author Brian Pontarelli
|
|
5595
|
+
*/
|
|
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 = {}));
|
|
5605
|
+
/**
|
|
5606
|
+
* @author Brett Guy
|
|
5607
|
+
*/
|
|
5608
|
+
var MessengerType;
|
|
5609
|
+
(function (MessengerType) {
|
|
5610
|
+
MessengerType["Generic"] = "Generic";
|
|
5611
|
+
MessengerType["Kafka"] = "Kafka";
|
|
5612
|
+
MessengerType["Twilio"] = "Twilio";
|
|
5613
|
+
})(MessengerType = exports.MessengerType || (exports.MessengerType = {}));
|
|
5614
|
+
/**
|
|
5615
|
+
* @author Daniel DeGroff
|
|
5616
|
+
*/
|
|
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 = {}));
|
|
5636
|
+
/**
|
|
5637
|
+
* Models the event types that FusionAuth produces.
|
|
5658
5638
|
*
|
|
5659
|
-
* @author
|
|
5639
|
+
* @author Brian Pontarelli
|
|
5660
5640
|
*/
|
|
5661
|
-
var
|
|
5662
|
-
(function (
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
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 = {}));
|
|
5666
5697
|
var TOTPAlgorithm;
|
|
5667
5698
|
(function (TOTPAlgorithm) {
|
|
5668
5699
|
TOTPAlgorithm["HmacSHA1"] = "HmacSHA1";
|
|
5669
5700
|
TOTPAlgorithm["HmacSHA256"] = "HmacSHA256";
|
|
5670
5701
|
TOTPAlgorithm["HmacSHA512"] = "HmacSHA512";
|
|
5671
5702
|
})(TOTPAlgorithm = exports.TOTPAlgorithm || (exports.TOTPAlgorithm = {}));
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
(function (TransactionType) {
|
|
5679
|
-
TransactionType["None"] = "None";
|
|
5680
|
-
TransactionType["Any"] = "Any";
|
|
5681
|
-
TransactionType["SimpleMajority"] = "SimpleMajority";
|
|
5682
|
-
TransactionType["SuperMajority"] = "SuperMajority";
|
|
5683
|
-
TransactionType["AbsoluteMajority"] = "AbsoluteMajority";
|
|
5684
|
-
})(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
|
|
5703
|
+
var LDAPSecurityMethod;
|
|
5704
|
+
(function (LDAPSecurityMethod) {
|
|
5705
|
+
LDAPSecurityMethod["None"] = "None";
|
|
5706
|
+
LDAPSecurityMethod["LDAPS"] = "LDAPS";
|
|
5707
|
+
LDAPSecurityMethod["StartTLS"] = "StartTLS";
|
|
5708
|
+
})(LDAPSecurityMethod = exports.LDAPSecurityMethod || (exports.LDAPSecurityMethod = {}));
|
|
5685
5709
|
var UniqueUsernameStrategy;
|
|
5686
5710
|
(function (UniqueUsernameStrategy) {
|
|
5687
5711
|
UniqueUsernameStrategy["Always"] = "Always";
|
|
@@ -5690,53 +5714,61 @@ var UniqueUsernameStrategy;
|
|
|
5690
5714
|
/**
|
|
5691
5715
|
* @author Daniel DeGroff
|
|
5692
5716
|
*/
|
|
5693
|
-
var
|
|
5694
|
-
(function (
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
})(
|
|
5717
|
+
var VerificationStrategy;
|
|
5718
|
+
(function (VerificationStrategy) {
|
|
5719
|
+
VerificationStrategy["ClickableLink"] = "ClickableLink";
|
|
5720
|
+
VerificationStrategy["FormField"] = "FormField";
|
|
5721
|
+
})(VerificationStrategy = exports.VerificationStrategy || (exports.VerificationStrategy = {}));
|
|
5698
5722
|
/**
|
|
5699
|
-
*
|
|
5723
|
+
* @author Daniel DeGroff
|
|
5724
|
+
*/
|
|
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 = {}));
|
|
5732
|
+
/**
|
|
5733
|
+
* XML canonicalization method enumeration. This is used for the IdP and SP side of FusionAuth SAML.
|
|
5700
5734
|
*
|
|
5701
5735
|
* @author Brian Pontarelli
|
|
5702
5736
|
*/
|
|
5703
|
-
var
|
|
5704
|
-
(function (
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
})(
|
|
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 = {}));
|
|
5710
5744
|
/**
|
|
5711
5745
|
* @author Daniel DeGroff
|
|
5712
5746
|
*/
|
|
5713
|
-
var
|
|
5714
|
-
(function (
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
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 = {}));
|
|
5720
5756
|
/**
|
|
5721
|
-
*
|
|
5722
|
-
* current operation.
|
|
5723
|
-
*
|
|
5724
|
-
* @author Spencer Witt
|
|
5757
|
+
* @author Matthew Altman
|
|
5725
5758
|
*/
|
|
5726
|
-
var
|
|
5727
|
-
(function (
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
})(UserVerificationRequirement = exports.UserVerificationRequirement || (exports.UserVerificationRequirement = {}));
|
|
5759
|
+
var LogoutBehavior;
|
|
5760
|
+
(function (LogoutBehavior) {
|
|
5761
|
+
LogoutBehavior["RedirectOnly"] = "RedirectOnly";
|
|
5762
|
+
LogoutBehavior["AllApplications"] = "AllApplications";
|
|
5763
|
+
})(LogoutBehavior = exports.LogoutBehavior || (exports.LogoutBehavior = {}));
|
|
5732
5764
|
/**
|
|
5733
|
-
* @author
|
|
5765
|
+
* @author Johnathon Wood
|
|
5734
5766
|
*/
|
|
5735
|
-
var
|
|
5736
|
-
(function (
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
})(
|
|
5767
|
+
var Oauth2AuthorizedURLValidationPolicy;
|
|
5768
|
+
(function (Oauth2AuthorizedURLValidationPolicy) {
|
|
5769
|
+
Oauth2AuthorizedURLValidationPolicy["AllowWildcards"] = "AllowWildcards";
|
|
5770
|
+
Oauth2AuthorizedURLValidationPolicy["ExactMatch"] = "ExactMatch";
|
|
5771
|
+
})(Oauth2AuthorizedURLValidationPolicy = exports.Oauth2AuthorizedURLValidationPolicy || (exports.Oauth2AuthorizedURLValidationPolicy = {}));
|
|
5740
5772
|
/**
|
|
5741
5773
|
* Identifies the WebAuthn workflow. This will affect the parameters used for credential creation
|
|
5742
5774
|
* and request based on the Tenant configuration.
|
|
@@ -5749,9 +5781,79 @@ var WebAuthnWorkflow;
|
|
|
5749
5781
|
WebAuthnWorkflow["general"] = "general";
|
|
5750
5782
|
WebAuthnWorkflow["reauthentication"] = "reauthentication";
|
|
5751
5783
|
})(WebAuthnWorkflow = exports.WebAuthnWorkflow || (exports.WebAuthnWorkflow = {}));
|
|
5752
|
-
var
|
|
5753
|
-
(function (
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5784
|
+
var OAuthErrorReason;
|
|
5785
|
+
(function (OAuthErrorReason) {
|
|
5786
|
+
OAuthErrorReason["auth_code_not_found"] = "auth_code_not_found";
|
|
5787
|
+
OAuthErrorReason["access_token_malformed"] = "access_token_malformed";
|
|
5788
|
+
OAuthErrorReason["access_token_expired"] = "access_token_expired";
|
|
5789
|
+
OAuthErrorReason["access_token_unavailable_for_processing"] = "access_token_unavailable_for_processing";
|
|
5790
|
+
OAuthErrorReason["access_token_failed_processing"] = "access_token_failed_processing";
|
|
5791
|
+
OAuthErrorReason["access_token_invalid"] = "access_token_invalid";
|
|
5792
|
+
OAuthErrorReason["refresh_token_not_found"] = "refresh_token_not_found";
|
|
5793
|
+
OAuthErrorReason["refresh_token_type_not_supported"] = "refresh_token_type_not_supported";
|
|
5794
|
+
OAuthErrorReason["invalid_client_id"] = "invalid_client_id";
|
|
5795
|
+
OAuthErrorReason["invalid_user_credentials"] = "invalid_user_credentials";
|
|
5796
|
+
OAuthErrorReason["invalid_grant_type"] = "invalid_grant_type";
|
|
5797
|
+
OAuthErrorReason["invalid_origin"] = "invalid_origin";
|
|
5798
|
+
OAuthErrorReason["invalid_origin_opaque"] = "invalid_origin_opaque";
|
|
5799
|
+
OAuthErrorReason["invalid_pkce_code_verifier"] = "invalid_pkce_code_verifier";
|
|
5800
|
+
OAuthErrorReason["invalid_pkce_code_challenge"] = "invalid_pkce_code_challenge";
|
|
5801
|
+
OAuthErrorReason["invalid_pkce_code_challenge_method"] = "invalid_pkce_code_challenge_method";
|
|
5802
|
+
OAuthErrorReason["invalid_redirect_uri"] = "invalid_redirect_uri";
|
|
5803
|
+
OAuthErrorReason["invalid_response_mode"] = "invalid_response_mode";
|
|
5804
|
+
OAuthErrorReason["invalid_response_type"] = "invalid_response_type";
|
|
5805
|
+
OAuthErrorReason["invalid_id_token_hint"] = "invalid_id_token_hint";
|
|
5806
|
+
OAuthErrorReason["invalid_post_logout_redirect_uri"] = "invalid_post_logout_redirect_uri";
|
|
5807
|
+
OAuthErrorReason["invalid_device_code"] = "invalid_device_code";
|
|
5808
|
+
OAuthErrorReason["invalid_user_code"] = "invalid_user_code";
|
|
5809
|
+
OAuthErrorReason["invalid_additional_client_id"] = "invalid_additional_client_id";
|
|
5810
|
+
OAuthErrorReason["invalid_target_entity_scope"] = "invalid_target_entity_scope";
|
|
5811
|
+
OAuthErrorReason["invalid_entity_permission_scope"] = "invalid_entity_permission_scope";
|
|
5812
|
+
OAuthErrorReason["invalid_user_id"] = "invalid_user_id";
|
|
5813
|
+
OAuthErrorReason["grant_type_disabled"] = "grant_type_disabled";
|
|
5814
|
+
OAuthErrorReason["missing_client_id"] = "missing_client_id";
|
|
5815
|
+
OAuthErrorReason["missing_client_secret"] = "missing_client_secret";
|
|
5816
|
+
OAuthErrorReason["missing_code"] = "missing_code";
|
|
5817
|
+
OAuthErrorReason["missing_code_challenge"] = "missing_code_challenge";
|
|
5818
|
+
OAuthErrorReason["missing_code_verifier"] = "missing_code_verifier";
|
|
5819
|
+
OAuthErrorReason["missing_device_code"] = "missing_device_code";
|
|
5820
|
+
OAuthErrorReason["missing_grant_type"] = "missing_grant_type";
|
|
5821
|
+
OAuthErrorReason["missing_redirect_uri"] = "missing_redirect_uri";
|
|
5822
|
+
OAuthErrorReason["missing_refresh_token"] = "missing_refresh_token";
|
|
5823
|
+
OAuthErrorReason["missing_response_type"] = "missing_response_type";
|
|
5824
|
+
OAuthErrorReason["missing_token"] = "missing_token";
|
|
5825
|
+
OAuthErrorReason["missing_user_code"] = "missing_user_code";
|
|
5826
|
+
OAuthErrorReason["missing_user_id"] = "missing_user_id";
|
|
5827
|
+
OAuthErrorReason["missing_verification_uri"] = "missing_verification_uri";
|
|
5828
|
+
OAuthErrorReason["login_prevented"] = "login_prevented";
|
|
5829
|
+
OAuthErrorReason["not_licensed"] = "not_licensed";
|
|
5830
|
+
OAuthErrorReason["user_code_expired"] = "user_code_expired";
|
|
5831
|
+
OAuthErrorReason["user_expired"] = "user_expired";
|
|
5832
|
+
OAuthErrorReason["user_locked"] = "user_locked";
|
|
5833
|
+
OAuthErrorReason["user_not_found"] = "user_not_found";
|
|
5834
|
+
OAuthErrorReason["client_authentication_missing"] = "client_authentication_missing";
|
|
5835
|
+
OAuthErrorReason["invalid_client_authentication_scheme"] = "invalid_client_authentication_scheme";
|
|
5836
|
+
OAuthErrorReason["invalid_client_authentication"] = "invalid_client_authentication";
|
|
5837
|
+
OAuthErrorReason["client_id_mismatch"] = "client_id_mismatch";
|
|
5838
|
+
OAuthErrorReason["change_password_administrative"] = "change_password_administrative";
|
|
5839
|
+
OAuthErrorReason["change_password_breached"] = "change_password_breached";
|
|
5840
|
+
OAuthErrorReason["change_password_expired"] = "change_password_expired";
|
|
5841
|
+
OAuthErrorReason["change_password_validation"] = "change_password_validation";
|
|
5842
|
+
OAuthErrorReason["unknown"] = "unknown";
|
|
5843
|
+
})(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 = {}));
|
|
5757
5859
|
//# sourceMappingURL=FusionAuthClient.js.map
|