Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidMetadata = status.Error(codes.Internal, "missing metadata") ErrMissingAuthHeader = status.Error(codes.InvalidArgument, "missing authorization header") ErrInvalidAuthHeaderFormat = status.Error(codes.InvalidArgument, "invalid authorization header format") ErrUnsupportedAuthType = status.Error(codes.InvalidArgument, "unsupported authorization type") ErrInvalidAuthToken = status.Error(codes.InvalidArgument, "invalid authorization token") ErrExpiredAuthToken = status.Error(codes.PermissionDenied, "authorization token is expired or invalid") )
Functions ¶
func AuthMiddleware ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.