Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleBuilder ¶
type RoleBuilder struct { Endpoints []string Caller *RoleConfigurer // contains filtered or unexported fields }
func (*RoleBuilder) Authenticated ¶
func (r *RoleBuilder) Authenticated() *RoleConfigurer
func (*RoleBuilder) DenyAll ¶
func (r *RoleBuilder) DenyAll() *RoleConfigurer
func (*RoleBuilder) HasAnyRoles ¶
func (r *RoleBuilder) HasAnyRoles(roles ...string) *RoleConfigurer
func (*RoleBuilder) PermitAll ¶
func (r *RoleBuilder) PermitAll() *RoleConfigurer
type RoleConfigurer ¶
type RoleConfigurer struct { RequestRoad *roadBuillder.RoadBuilder[authorization.RoleModel] // contains filtered or unexported fields }
func (RoleConfigurer) AntMatcher ¶
func (r RoleConfigurer) AntMatcher(endpoints ...string) *RoleBuilder
func (RoleConfigurer) AnyRequest ¶
func (r RoleConfigurer) AnyRequest() *RoleBuilder
type SecurityConfig ¶
type SecurityConfig interface {
Config(security *RoleConfigurer)
}
Click to show internal directories.
Click to hide internal directories.