Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextBindingController ¶
type ContextBindingController struct { JWTser jwt.Service //starter:inject("#") SessionService security.SessionService //starter:inject("#") PermissionService rbac.PermissionService //starter:inject("#") SubjectsLoader subjects.Loader //starter:inject("#") GroupNameList string //starter:inject("${security.web.groups}") Bypass bool //starter:inject("${security.web.bypass}") // contains filtered or unexported fields }
ContextBindingController 这个控制器用于配置预先绑定上下文的中间件
func (*ContextBindingController) Registration ¶
func (inst *ContextBindingController) Registration() *libgin.ControllerRegistration
Registration ...
type GinContextJWTAdapter ¶
type GinContextJWTAdapter struct { JWTService jwt.Service //starter:inject("#") UseCookie bool //starter:inject("${security.jwt.use-cookie}") UseHeader bool //starter:inject("${security.jwt.use-header}") MaxAgeInMS int64 //starter:inject("${security.jwt.max-age-in-ms}") // contains filtered or unexported fields }
GinContextJWTAdapter ...
func (*GinContextJWTAdapter) Accept ¶
func (inst *GinContextJWTAdapter) Accept(c context.Context) bool
Accept ...
func (*GinContextJWTAdapter) ListRegistrations ¶
func (inst *GinContextJWTAdapter) ListRegistrations() []*jwt.Registration
ListRegistrations ...
Click to show internal directories.
Click to hide internal directories.