forked from d8-contrib-modules/tfa_basic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
35 lines (24 loc) · 980 Bytes
/
README.txt
File metadata and controls
35 lines (24 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Basic plugins for TFA module
Intent is to provide basic functionality of TFA Drupal module and to be an
example of TFA plugin development.
Plugins:
* TOTP
A Time-based One Time Password plugin using PHP_Gansta\GoogleAuthenticator
PHP library.
* Trusted device
A TFA login plugin allowing browsers to be marked "trusted" so that subsequent
logins will not require TFA for a 30 day window.
Variables:
* tfa_basic_secret_key
Secret key to to use as encryption key for TOTP seed encryption. Should be set
in settings.php and not in the Drupal database.
* tfa_basic_time_skew
Number of 30 second chunks to allow TOTP keys between.
* tfa_basic_name_prefix
Prefix for TOTP QR code names. Suffix if "-username".
* tfa_basic_cookie_name
Cookie name of TFA trusted device cookie. Default is "TD".
* tfa_basic_cookie_domain
Cookie domain for TFA trusted device cookie.
* tfa_basic_trust_cookie_expiration
How long before TFA cookies expire. Default is 30 days.