Documentation
¶
Index ¶
- Constants
- Variables
- func Authenticated(ctx raiden.Context) error
- func GetAuthenticatedData(ctx raiden.Context, serviceOnly bool) (*jwt.JWTClaims, error)
- func GetAvailableRole() (roles []objects.Role, err error)
- func GetPolicy(role []string) (objects.Policies, error)
- func GetRole(name string) (raiden.Role, error)
- func GetRoles() ([]raiden.Role, error)
- func SetUserRole(cfg *raiden.Config, userId string, role raiden.Role) error
Constants ¶
View Source
const ServiceRoleName = "service_role"
Variables ¶
View Source
var Logger hclog.Logger = logger.HcLog().Named("acl")
Functions ¶
func Authenticated ¶ added in v1.0.0
func GetAuthenticatedData ¶ added in v1.0.0
func GetAvailableRole ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.