webuntis v2.1.1 Webuntis.Auth.Totp
Generate a Time-Based One-Time Password used from 2 factor authentication.
- Official specification: https://tools.ietf.org/html/rfc6238
- Original file: https://github.com/jameslafa/totpex/blob/master/lib/totpex.ex
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