Documentation ¶ Index ¶ Constants func AllOf(contract common.Address, tokenIDParam string, ...) fiber.Handler Constants ¶ View Source const ( // TokenClaimsKey is the key used to store the token claims in the fiber context TokenClaimsKey = "tokenClaims" ) Variables ¶ This section is empty. Functions ¶ func AllOf ¶ func AllOf(contract common.Address, tokenIDParam string, privilegeIDs []privileges.Privilege) fiber.Handler AllOf creates a middleware that checks if the token contains all the required privileges this middleware also checks if the token is for the correct contract and token ID Types ¶ This section is empty. Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.