Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Strings for errors ErrPermissionDenied = "you are not authorized make this request" ErrInternalGRPCError = "an internal-to-ims grpc error happened" LoggingPackageName = "interceptors.authorization.imsapi.v1" LogIncomingRequest = "ims api request made" LogIncomingRequestMethodKey = "method" LogValidating = "validating authorization for rpc method" LogValidatingMethodKey = LogIncomingRequestMethodKey LogEnforcingTrialPeriodFailed = "enforcing the trial period failed" RPCGetVersionInformation = "GetVersionInformation" )
Variables ¶
This section is empty.
Functions ¶
func SetupInterceptor ¶
func UnaryInterceptor ¶
func UnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.