Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasRole ¶
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
func IsRegistered ¶
IsRegistered determines if the user is properly registered, i.e if a valid username:password pair has been provided
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.