We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QueryClient.Roles()
Allow querying of user roles:
package example func example(client auth.QueryClient) { userID := uuid.New() roleIDs, roleNames, err := client.RolesOf(context.TODO(), userID) }
The text was updated successfully, but these errors were encountered:
In which file i should implement such a method?
Sorry, something went wrong.
This is the contrib/auth package. The QueryClient can be found in the contrib/auth/api.go 👍🏼
contrib/auth
QueryClient
contrib/auth/api.go
No branches or pull requests
Allow querying of user roles:
The text was updated successfully, but these errors were encountered: