# Functions
HasRole tells if the Bearer token is a JWT signed by us with a claim to be member of an authorization scope.
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.