TwoFactorAuthResetRequest
org.sagebionetworks.repo.model.auth.TwoFactorAuthResetRequest
Used to request a two fa reset token to be sent by email, can be requested with a twoFaToken returned by an authentication attempt.
| Field | Type | Description |
|---|---|---|
| userId | INTEGER | The id of the user that attempted to authenticate. |
| twoFaResetEndpoint | STRING | The portal endpoint used as reset link prefix, must be a domain owned by sage. |
| twoFaToken | STRING | The token that was included in the error response when authenticating. |
| password | STRING | The current user password that can be used in place of the twoFaToken (e.g. when authenticating with user/password or during a change password workflow). |