$totp->generate()
Generates the current TOTP code
Parameters
Name | Type | Default | Description |
---|---|---|---|
$offset | int |
0 |
Optional counter offset to generate previous or upcoming codes |
Return type
string
Generates the current TOTP code
Name | Type | Default | Description |
---|---|---|---|
$offset | int |
0 |
Optional counter offset to generate previous or upcoming codes |
string