retrieve Two Factor Status With Id
GET {{baseUrl}}/api/two-factor/status/:twoFactorTrustId?userId=<string>&applicationId=<string>
Retrieve a user's two-factor status. This can be used to see if a user will need to complete a two-factor challenge to complete a login, and optionally identify the state of the two-factor trust across various applications.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
userId | string | The user Id to retrieve the Two-Factor status. | |
applicationId | string | The optional applicationId to verify. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"trusts":[{"applicationId":"\u003cuuid\u003e","expiration":"\u003clong\u003e","startInstant":"\u003clong\u003e"},{"applicationId":"\u003cuuid\u003e","expiration":"\u003clong\u003e","startInstant":"\u003clong\u003e"}],"twoFactorTrustId":"\u003cstring\u003e"}