zynagent-first application framework

Back to the API reference

zyn.auth.Config#

pub const Config = struct {
    registration: enum { open, closed } = .closed,
    magic_link: ?struct {} = null,
    password: ?struct {} = null,
    notifications: struct {
        magic_link: ?Callback = null,
        verification: ?Callback = null,
        password_reset: ?Callback = null,
    } = .{},
};