webuntis v2.1.1 Webuntis.Auth.Totp

Generate a Time-Based One-Time Password used from 2 factor authentication.

Link to this section Summary

Functions

Generate Time-Based One-Time Password. 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)

Generate Time-Based One-Time Password. The default period used to calculate the moving factor is 30s