Files
upstream-espocrm/schema/metadata/app/authentication2FAMethods.json
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

36 lines
1.6 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/authentication2FAMethods.json",
"title": "app/authentication2FAMethods",
"description": "Definitions for 2-factor authentication methods.",
"type": "object",
"additionalProperties": {
"type": "object",
"description": "A method name.",
"properties": {
"settings": {
"type": "object",
"description": "Settings.",
"properties": {
"isAvailable": {
"type": "boolean",
"description": "Whether the method should be available as an option at Administration > Authentication > Available 2FA methods."
}
}
},
"userApplyView": {
"type": "string",
"description": "A front-end view for a user when they apply the 2FA method to their account."
},
"loginClassName": {
"type": "string",
"description": "A login class. Processes the second step of the login process. Should implement Espo\\Core\\Authentication\\TwoFactor\\Login interface."
},
"userSetupClassName": {
"type": "string",
"description": "A user-setup class. Provides needed data for a front-end for a user when they setup the 2FA method. Verifies entered user data before establishing the 2FA method for a user. Should implement Espo\\Core\\Authentication\\TwoFactor\\UserSetup interface."
}
}
}
}