Era.Common.DataDefinition.Security.SecondFactor
Description
Properties
| Name |
JsonSchemaType |
Description |
| mobilePhoneNumber |
string |
Mobile number to which the provisioning SMS should be sent. Ignored for repeated provisioning. Once the number is set, it can only be changed by disabling and re-enabling 2FA for the user. |
| otp |
string |
One time password or device token, used in 2-factor authentication |
| rememberDevice |
boolean |
If true and 2FA is enabled, a token for given user and device will be generated |
| requestProvisionSms |
boolean |
If true and 2FA is enabled, provisioning SMS will be sent to the user. |
Dual message (request/response)
No dual message.Referenced in messages
Era.Common.NetworkMessage.ConsoleApi.SessionManagement.RpcAuthGrpcChangeNativeUserPasswordRequest
JsonSchema
{
"title": "Era.Common.DataDefinition.Security.SecondFactor",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"required": [
"Era.Common.DataDefinition.Security.SecondFactor"
],
"properties": {
"Era.Common.DataDefinition.Security.SecondFactor": {
"$ref": "#/definitions/SecondFactor"
}
},
"definitions": {
"SecondFactor": {
"additionalProperties": false,
"type": "object",
"properties": {
"mobilePhoneNumber": {
"type": "string"
},
"otp": {
"type": "string"
},
"rememberDevice": {
"type": "boolean"
},
"requestProvisionSms": {
"type": "boolean"
}
}
}
}
}