File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,6 @@ And there is more information available about specific topics:
2020* [ Cache] ( /docs/cache )
2121* [ Session] ( /docs/session )
2222* [ Authentication] ( /docs/authentication )
23+ * [ Totp] ( /docs/totp )
24+ * [ Firewall] ( /docs/firewall )
2325* [ Webservers] ( /docs/webservers )
Original file line number Diff line number Diff line change @@ -126,3 +126,17 @@ This is a reference of all global variables and functions.
126126| ` I18n::weekDay($day):string ` | * .php | Get weekday name |
127127| ` I18n::monthName($month):string ` | * .php | Get month name |
128128| ` I18n::datetimeShort($str):string ` | * .php | Format datetime short |
129+
130+ ## TOTP (Two-Factor Authentication)
131+
132+ | Function | Location | Purpose |
133+ | ---------------------------------------------- | ------------- | ---------------------- |
134+ | ` Totp::generateSecret():string ` | * .php | Generate TOTP secret |
135+ | ` Totp::generateURI($comp,$user,$sec):string ` | * .php | Generate QR code URI |
136+ | ` Totp::verify($secret,$otp):bool ` | * .php | Verify TOTP code |
137+
138+ ## Firewall
139+
140+ | Function | Location | Purpose |
141+ | ------------------------------------------- | ------------- | -------------------- |
142+ | ` Firewall::start():void ` | * .php | Start rate limiting |
You can’t perform that action at this time.
0 commit comments