Work on new auth framework based on new storage system
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Melody Becker 2025-03-28 16:17:08 +01:00
parent 66d6299295
commit 9496ba0cc6
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
5 changed files with 264 additions and 0 deletions

16
auth-new/passkey.go Normal file
View file

@ -0,0 +1,16 @@
package auth
import "git.mstar.dev/mstar/linstrom/storage-new/dbgen"
func (a *Authenticator) StartPasskeyLogin(username string) error {
acc, err := dbgen.User.Where(dbgen.User.Username.Eq(username)).First()
if err != nil {
return err
}
_ = acc
panic("Not implemented") // TODO: Implement me
}
func (a *Authenticator) CompletePasskeyLogin(username string) error {
panic("Not implemented") // TODO: Implement me
}