|
|
# Two Factor Authentication
|
|
# Two Factor Authentication
|
|
|
|
|
|
|
|
Two factor authentication is configured with a [script](/configuration/scripts). The configuration is resolved through the ´resolveConfig´ method. An example configuration:
|
|
Two factor authentication is configured with a [script](/configuration/rules#scripts). The configuration is resolved through the ´resolveConfig´ method. An example configuration:
|
|
|
|
|
|
|
|
```javascript
|
|
```javascript
|
|
|
var resolveConfig = function (scriptingEnv, configMap, identity, logger) {
|
|
var resolveConfig = function (scriptingEnv, configMap, identity, logger) {
|
| ... | |
... | |
| ... | | ... | |