@@ -1332,6 +1332,27 @@ components:
13321332 - ACTIVE
13331333 - PENDING
13341334 - REJECTED
1335+ Context:
1336+ description: Represents the inbound lambda parameter 'context' for MFA Required
1337+ lambdas.
1338+ type: object
1339+ properties:
1340+ accessToken:
1341+ type: string
1342+ action:
1343+ "$ref": "#/components/schemas/MultiFactorAction"
1344+ application:
1345+ "$ref": "#/components/schemas/Application"
1346+ authenticationThreats:
1347+ type: array
1348+ uniqueItems: true
1349+ items: {}
1350+ eventInfo:
1351+ "$ref": "#/components/schemas/EventInfo"
1352+ mfaTrust:
1353+ "$ref": "#/components/schemas/Trust"
1354+ policies:
1355+ "$ref": "#/components/schemas/Policies"
13351356 CoseAlgorithmIdentifier:
13361357 description: A number identifying a cryptographic algorithm. Values should be
13371358 registered with the <a href="https:www.iana.orgassignmentscosecose.xhtml#algorithms">IANA
@@ -2322,6 +2343,13 @@ components:
23222343 - Test
23232344 - UserIdentityVerified
23242345 - UserIdentityUpdate
2346+ ExistingUserStrategy:
2347+ description: Represent the various statesexpectations of a user in the context
2348+ of starting verification
2349+ type: string
2350+ enum:
2351+ - mustExist
2352+ - mustNotExist
23252353 ExpandableRequest:
23262354 description: An expandable API request.
23272355 type: object
@@ -2843,6 +2871,16 @@ components:
28432871 items:
28442872 type: string
28452873 format: uuid
2874+ type:
2875+ "$ref": "#/components/schemas/FormStepType"
2876+ FormStepType:
2877+ description: Denotes the type of form step. This is used to configure different
2878+ behavior on form steps in the registration flow.
2879+ type: string
2880+ enum:
2881+ - collectData
2882+ - verifyEmail
2883+ - verifyPhoneNumber
28462884 FormType:
28472885 description: ''
28482886 type: string
@@ -4327,6 +4365,9 @@ components:
43274365 idTokenPopulateId:
43284366 type: string
43294367 format: uuid
4368+ multiFactorRequirementId:
4369+ type: string
4370+ format: uuid
43304371 samlv2PopulateId:
43314372 type: string
43324373 format: uuid
@@ -4421,6 +4462,7 @@ components:
44214462 - SelfServiceRegistrationValidation
44224463 - UserInfoPopulate
44234464 - LoginValidation
4465+ - MFARequirement
44244466 LinkedInApplicationConfiguration:
44254467 description: ''
44264468 type: object
@@ -4918,6 +4960,14 @@ components:
49184960 total:
49194961 type: integer
49204962 format: int64
4963+ MultiFactorAction:
4964+ description: Communicate various actionscontexts in which multi-factor authentication
4965+ can be used.
4966+ type: string
4967+ enum:
4968+ - changePassword
4969+ - login
4970+ - stepUp
49214971 MultiFactorAuthenticatorMethod:
49224972 type: object
49234973 properties:
@@ -5611,6 +5661,17 @@ components:
56115661 type: boolean
56125662 behavior:
56135663 "$ref": "#/components/schemas/UnverifiedBehavior"
5664+ Policies:
5665+ description: Represents the inbound lambda parameter 'policies' for MFA Required
5666+ lambdas.
5667+ type: object
5668+ properties:
5669+ applicationLoginPolicy:
5670+ "$ref": "#/components/schemas/MultiFactorLoginPolicy"
5671+ applicationMultiFactorTrustPolicy:
5672+ "$ref": "#/components/schemas/ApplicationMultiFactorTrustPolicy"
5673+ tenantLoginPolicy:
5674+ "$ref": "#/components/schemas/MultiFactorLoginPolicy"
56145675 PreviewMessageTemplateRequest:
56155676 description: ''
56165677 type: object
@@ -5875,6 +5936,8 @@ components:
58755936 type: string
58765937 licensed:
58775938 type: boolean
5939+ multiFactorLambdas:
5940+ "$ref": "#/components/schemas/ReactorFeatureStatus"
58785941 scimServer:
58795942 "$ref": "#/components/schemas/ReactorFeatureStatus"
58805943 tenantManagerApplication:
@@ -6098,6 +6161,10 @@ components:
60986161 type: boolean
60996162 user:
61006163 "$ref": "#/components/schemas/User"
6164+ verificationIds:
6165+ type: array
6166+ items:
6167+ type: string
61016168 eventInfo:
61026169 "$ref": "#/components/schemas/EventInfo"
61036170 RegistrationResponse:
@@ -6121,6 +6188,10 @@ components:
61216188 "$ref": "#/components/schemas/ZonedDateTime"
61226189 user:
61236190 "$ref": "#/components/schemas/User"
6191+ verificationIds:
6192+ type: array
6193+ items:
6194+ "$ref": "#/components/schemas/VerificationId"
61246195 RegistrationType:
61256196 type: string
61266197 enum:
@@ -6164,6 +6235,15 @@ components:
61646235 type: boolean
61656236 enabled:
61666237 type: boolean
6238+ RequiredLambdaResult:
6239+ description: Represents the inbound lambda parameter 'result' for MFA Required
6240+ lambdas.
6241+ type: object
6242+ properties:
6243+ required:
6244+ type: boolean
6245+ sendSuspiciousLoginEvent:
6246+ type: boolean
61676247 RequiresCORSConfiguration:
61686248 description: Interface describing the need for CORS configuration.
61696249 type: object
@@ -6784,6 +6864,15 @@ components:
67846864 type: string
67856865 order:
67866866 "$ref": "#/components/schemas/Sort"
6867+ StartInstant:
6868+ type: object
6869+ properties:
6870+ applications:
6871+ type: object
6872+ additionalProperties:
6873+ "$ref": "#/components/schemas/ZonedDateTime"
6874+ tenant:
6875+ "$ref": "#/components/schemas/ZonedDateTime"
67876876 StatusResponse:
67886877 description: The public Status API response
67896878 type: object
@@ -7178,6 +7267,9 @@ components:
71787267 loginValidationId:
71797268 type: string
71807269 format: uuid
7270+ multiFactorRequirementId:
7271+ type: string
7272+ format: uuid
71817273 scimEnterpriseUserRequestConverterId:
71827274 type: string
71837275 format: uuid
@@ -7593,6 +7685,36 @@ components:
75937685 - SimpleMajority
75947686 - SuperMajority
75957687 - AbsoluteMajority
7688+ Trust:
7689+ description: Represents the inbound lambda parameter 'mfaTrust' inside the 'context'
7690+ parameter for MFA Required lambdas.
7691+ type: object
7692+ properties:
7693+ applicationId:
7694+ type: string
7695+ format: uuid
7696+ attributes:
7697+ type: object
7698+ additionalProperties:
7699+ type: string
7700+ expirationInstant:
7701+ "$ref": "#/components/schemas/ZonedDateTime"
7702+ id:
7703+ type: string
7704+ insertInstant:
7705+ "$ref": "#/components/schemas/ZonedDateTime"
7706+ startInstants:
7707+ "$ref": "#/components/schemas/StartInstant"
7708+ state:
7709+ type: object
7710+ additionalProperties:
7711+ type: object
7712+ tenantId:
7713+ type: string
7714+ format: uuid
7715+ userId:
7716+ type: string
7717+ format: uuid
75967718 TwilioMessengerConfiguration:
75977719 description: ''
75987720 type: object
@@ -7911,6 +8033,25 @@ components:
79118033 "$ref": "#/components/schemas/TwoFactorMethod"
79128034 twoFactorId:
79138035 type: string
8036+ TwoFactorStatusRequest:
8037+ description: Check the status of two-factor authentication for a user, with
8038+ more options than on a GET request.
8039+ type: object
8040+ properties:
8041+ userId:
8042+ type: string
8043+ format: uuid
8044+ accessToken:
8045+ type: string
8046+ action:
8047+ "$ref": "#/components/schemas/MultiFactorAction"
8048+ applicationId:
8049+ type: string
8050+ format: uuid
8051+ twoFactorTrustId:
8052+ type: string
8053+ eventInfo:
8054+ "$ref": "#/components/schemas/EventInfo"
79148055 TwoFactorStatusResponse:
79158056 description: ''
79168057 type: object
@@ -9183,6 +9324,8 @@ components:
91839324 applicationId:
91849325 type: string
91859326 format: uuid
9327+ existingUserStrategy:
9328+ "$ref": "#/components/schemas/ExistingUserStrategy"
91869329 loginId:
91879330 type: string
91889331 loginIdType:
@@ -15814,6 +15957,32 @@ paths:
1581415957 application/json:
1581515958 schema:
1581615959 "$ref": "#/components/schemas/Errors"
15960+ "/api/two-factor/status":
15961+ post:
15962+ description: Retrieve a user's two-factor status. This can be used to see if
15963+ a user will need to complete a two-factor challenge to complete a login, and
15964+ optionally identify the state of the two-factor trust across various applications.
15965+ This operation provides more payload options than retrieveTwoFactorStatus.
15966+ operationId: retrieveTwoFactorStatusWithRequestWithId
15967+ parameters: []
15968+ requestBody:
15969+ content:
15970+ application/json:
15971+ schema:
15972+ "$ref": "#/components/schemas/TwoFactorStatusRequest"
15973+ responses:
15974+ '200':
15975+ description: Success
15976+ content:
15977+ application/json:
15978+ schema:
15979+ "$ref": "#/components/schemas/TwoFactorStatusResponse"
15980+ default:
15981+ description: Error
15982+ content:
15983+ application/json:
15984+ schema:
15985+ "$ref": "#/components/schemas/Errors"
1581715986 "/api/two-factor/status/{twoFactorTrustId}":
1581815987 get:
1581915988 description: Retrieve a user's two-factor status. This can be used to see if
@@ -16590,12 +16759,30 @@ paths:
1659016759 completing a Two-Factor Step-Up authentication. An HTTP status code of 400
1659116760 with a general error code of [TrustTokenRequired] indicates that a Trust Token
1659216761 is required to make a POST request to this API. OR Check to see if the user
16593- must obtain a Trust Token Id in order to complete a change password request.
16762+ must obtain a Trust Request Id in order to complete a change password request.
1659416763 When a user has enabled Two-Factor authentication, before you are allowed
1659516764 to use the Change Password API to change your password, you must obtain a
16596- Trust Token by completing a Two-Factor Step-Up authentication. An HTTP status
16597- code of 400 with a general error code of [TrustTokenRequired] indicates that
16598- a Trust Token is required to make a POST request to this API.
16765+ Trust Request Id by completing a Two-Factor Step-Up authentication. An HTTP
16766+ status code of 400 with a general error code of [TrustTokenRequired] indicates
16767+ that a Trust Token is required to make a POST request to this API. OR Check
16768+ to see if the user must obtain a Trust Request Id in order to complete a change
16769+ password request. When a user has enabled Two-Factor authentication, before
16770+ you are allowed to use the Change Password API to change your password, you
16771+ must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication. An
16772+ HTTP status code of 400 with a general error code of [TrustTokenRequired]
16773+ indicates that a Trust Token is required to make a POST request to this API.
16774+ OR Check to see if the user must obtain a Trust Token Id in order to complete
16775+ a change password request. When a user has enabled Two-Factor authentication,
16776+ before you are allowed to use the Change Password API to change your password,
16777+ you must obtain a Trust Token by completing a Two-Factor Step-Up authentication. An
16778+ HTTP status code of 400 with a general error code of [TrustTokenRequired]
16779+ indicates that a Trust Token is required to make a POST request to this API.
16780+ OR Check to see if the user must obtain a Trust Token Id in order to complete
16781+ a change password request. When a user has enabled Two-Factor authentication,
16782+ before you are allowed to use the Change Password API to change your password,
16783+ you must obtain a Trust Token by completing a Two-Factor Step-Up authentication. An
16784+ HTTP status code of 400 with a general error code of [TrustTokenRequired]
16785+ indicates that a Trust Token is required to make a POST request to this API.
1659916786 operationId: retrieveUserChangePassword
1660016787 parameters:
1660116788 - name: loginId
@@ -16611,6 +16798,12 @@ paths:
1661116798 items:
1661216799 type: string
1661316800 description: The identity types that FusionAuth will compare the loginId to.
16801+ - name: ipAddress
16802+ in: query
16803+ schema:
16804+ type: string
16805+ description: IP address of the user changing their password. This is used
16806+ for MFA risk assessment.
1661416807 responses:
1661516808 '200':
1661616809 description: Success
@@ -16661,8 +16854,20 @@ paths:
1666116854 your password, you must obtain a Trust Token by completing a Two-Factor Step-Up
1666216855 authentication. An HTTP status code of 400 with a general error code of [TrustTokenRequired]
1666316856 indicates that a Trust Token is required to make a POST request to this API.
16664- operationId: checkChangePasswordUsingIdWithId
16857+ OR Check to see if the user must obtain a Trust Token Id in order to complete
16858+ a change password request. When a user has enabled Two-Factor authentication,
16859+ before you are allowed to use the Change Password API to change your password,
16860+ you must obtain a Trust Token by completing a Two-Factor Step-Up authentication. An
16861+ HTTP status code of 400 with a general error code of [TrustTokenRequired]
16862+ indicates that a Trust Token is required to make a POST request to this API.
16863+ operationId: retrieveUserChangePasswordWithId
1666516864 parameters:
16865+ - name: ipAddress
16866+ in: query
16867+ schema:
16868+ type: string
16869+ description: IP address of the user changing their password. This is used
16870+ for MFA risk assessment.
1666616871 - name: changePasswordId
1666716872 in: path
1666816873 schema:
0 commit comments