Documentation ¶
Index ¶
Constants ¶
View Source
const ( PermAccountRegister = `account.register` PermPermissionList = `permission.list` PermUserPassReset = `password.reset` PermUserPassSet = `password.set` )
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(ctx context.Context, conf *appcontext.ConfigType, masterDatabase *gorm.DB) (fosite.OAuth2Provider, *jwt.Provider)
Auth new provider
func InitModelPermissions ¶
func InitModelPermissions(pm *permissions.Manager)
InitModelPermissions models
func SessionManager ¶
SessionManager returns new session manager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.