Documentation
¶
Overview ¶
Package authorization re-exports the reusable authorization vocabulary for clean services.
Index ¶
Constants ¶
View Source
const ( ActorTypeUser = base.ActorTypeUser ActorTypeService = base.ActorTypeService )
Variables ¶
View Source
var ( ErrAuthenticationRequired = base.ErrAuthenticationRequired ErrInsufficientTokenScope = base.ErrInsufficientTokenScope ErrInsufficientPermissions = base.ErrInsufficientPermissions ErrNotAdminActor = base.ErrNotAdminActor ErrNotServiceActor = base.ErrNotServiceActor )
Functions ¶
Types ¶
type Actor ¶
func ActorFromContext ¶
Click to show internal directories.
Click to hide internal directories.