Untis.Auth.Totp (untis v1.0.0) View Source

Generates a time-based one-time password used for two-factor authentication.

Link to this section Summary

Functions

Generates time-based one-time password (TOTP). The default period used to calculate the moving factor is 30s.

Link to this section Functions

Link to this function

generate_totp(secret, period \\ 30)

View Source

Generates time-based one-time password (TOTP). The default period used to calculate the moving factor is 30s.