package
1.5.10
Repository: https://github.com/ditointernet/go-dito.git
Documentation: pkg.go.dev

# Functions

MustNewAccountAuthorizator constructs a new account authorization middleware.
NewAccountAuthorizator constructs a new account authorization middleware.

# Constants

CodeTypeAccessDenied indicates that authorizatior client denied account access.
CodeTypeErrorExecutingAuthorizationQuery indicates that it was not possible to execute authorization client query.
CodeTypeMissingAccountId indicates that the accountId was not present on the context.
CodeTypeMissingBrandId indicates that the brandId was not present on the context.
ContextKeyAllowedStores is the context key that get and sets all accounts allowed stores.
StoreFilter means a numeric representation of the stores filter.

# Structs

AccountAuthorizator is the struct responsible for create account authorizarion.

# Type aliases

ResourseFilter defines a type that represents a resource filter as an integer.