Documentation ¶
Overview ¶
Package auth extends github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/auth
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthFromMD = auth.AuthFromMD
AuthFromMD is a helper function for extracting the :authorization header from the gRPC metadata of the request.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor() []grpc.StreamServerInterceptor
StreamServerInterceptor returns a new stream server interceptors that performs per-request auth.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() []grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptors that performs per-request auth.
Types ¶
Click to show internal directories.
Click to hide internal directories.