Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Auth initialize Auth for Authentication Auth = clean.New(&auth.Config{ DB: db.DB, Mailer: config.Mailer, Render: render.New(&render.Config{AssetFileSystem: bindatafs.AssetFS.NameSpace("auth")}), UserModel: users.User{}, Redirector: auth.Redirector{RedirectBack: config.RedirectBack}, }) // Authority initialize Authority for Authorization Authority = authority.New(&authority.Config{ Auth: Auth, }) )
Functions ¶
This section is empty.
Types ¶
type AdminAuth ¶
type AdminAuth struct { }
func (AdminAuth) GetCurrentUser ¶
func (AdminAuth) GetCurrentUser(c *admin.Context) qor.CurrentUser
Click to show internal directories.
Click to hide internal directories.