//
pkg.gl
Category
github.com/fabriqs/go-micro
middleware
package
0.8.9
Repository:
https://github.com/fabriqs/go-micro.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
30 SLOC
#
Functions
Authenticated
Authenticated returns a middleware that checks if the user is authenticated.
AuthenticatedWithRole
AuthenticatedWithRole returns a middleware that checks if the user is authenticated and has the given role.