provider

package
v3.0.0-alpha2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: OSL-3.0 Imports: 5 Imported by: 0

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

Inject userService dependency

type RoleProvider

type RoleProvider interface {
	All(context.Context, *web.Session) []securityDomain.Role
}

RoleProvider interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL