gotosocial/internal/api/client/user
tobi 365b575341
[feature] add TOTP two-factor authentication (2FA) (#3960)
* [feature] add TOTP two-factor authentication (2FA)

* use byteutil.S2B to avoid allocations when comparing + generating password hashes

* don't bother with string conversion  for consts

* use io.ReadFull

* use MustGenerateSecret for backup codes

* rename util functions
2025-04-07 16:14:41 +02:00
..
emailchange.go [feature] Enforce OAuth token scopes (#3835) 2025-02-26 13:04:55 +01:00
emailchange_test.go [feature] Push notifications (#3587) 2025-01-23 16:47:30 -08:00
passwordchange.go [feature] Enforce OAuth token scopes (#3835) 2025-02-26 13:04:55 +01:00
passwordchange_test.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
twofactor.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
user.go [feature] add TOTP two-factor authentication (2FA) (#3960) 2025-04-07 16:14:41 +02:00
user_test.go [feature] Refactor tokens, allow multiple app redirect_uris (#3849) 2025-03-03 15:03:36 +00:00
userget.go [feature] Enforce OAuth token scopes (#3835) 2025-02-26 13:04:55 +01:00