package
0.1.19
Repository: https://github.com/bdchain/gosf.git
Documentation: pkg.go.dev

# Functions

CheckAndInjectAccessPerms fetchs perms and injects them into the request.
CheckPerms checks if the required perms under the given scope is satisfied.
ExtractPerms extracts access perms from request context.
ExtractPermsFetcher extracts fetcher from the request's context.
ExtractPermsFromCtx extracts access perms from request context.
InjectPermsFetcher injects given fetcher into request's context.

# Interfaces

Fetcher represents a method for converting token to common.AccessPerms.