Bonfire
v0.9.10-classic-beta.169
Pages
Modules
Mix
Tasks
Search documentation of Bonfire
Settings
View Source
Bonfire.Data.Identity.AuthSecondFactor
(Bonfire v0.9.10-classic-beta.169)
A mixin that stores a second factor secret to authenticate an account.
Summary
Functions
changeset(totp, attrs)
delete(struct, key)
get(struct, key, default \\ nil)
put(struct, key, val)
valid_totp?(totp, code)
Functions
Link to this function
changeset(totp, attrs)
View Source
Link to this function
delete(struct, key)
View Source
Link to this function
get(struct, key, default \\ nil)
View Source
Link to this function
put(struct, key, val)
View Source
Link to this function
valid_totp?(totp, code)
View Source