Documentation
¶
Overview ¶
Package projauth provides authorization for each GRPC method in MServiceProject. The JWT extracted from the GRPC request context is used for each delegating method.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotImplemented = errors.New("not implemented")
Functions ¶
func GetInt64FromClaims ¶
Get the clain value as an int64.
func GetStringFromClaims ¶
Get the claim value as a string.
func NewProjectAuth ¶
func NewProjectAuth(projService pb.MServiceProjectServer) *projAuth
Get a new projAuth instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.