import "github.com/go-swagger/go-swagger/examples/composed-auth/auth"
HasRole tells if the Bearer token is a JWT signed by us with a claim to be member of an authorization scope. We verify that the claimed role is one of the passed scopes
IsRegistered determines if the user is properly registered, i.e if a valid username:password pair has been provided
IsReseller tells if the API key is a JWT signed by us with a claim to be a reseller
Package auth imports 5 packages (graph) and is imported by 1 packages. Updated 2019-11-06. Refresh now. Tools for package owners.