Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRoleProvider ¶
type AuthRoleProvider struct {
// contains filtered or unexported fields
}
AuthRoleProvider implements the RoleProvider interface for authenticated users
func (*AuthRoleProvider) All ¶
func (p *AuthRoleProvider) All(ctx context.Context, session *web.Session) []securityDomain.Role
All return all associated roles
func (*AuthRoleProvider) Inject ¶
func (p *AuthRoleProvider) Inject(us application.UserServiceInterface)
Inject userService dependency
type RoleProvider ¶
RoleProvider interface
Click to show internal directories.
Click to hide internal directories.