isUnmatchedAuthErr returns true when the gRPC status represents an Unauthenticated (401-equivalent) error that was not matched by any of the specific JWT sentinel checks above. This lets us surface the server's original message instead of silently dropping it.
(grpcStatus *status.Status)
| 147 | // specific JWT sentinel checks above. This lets us surface the server's |
| 148 | // original message instead of silently dropping it. |
| 149 | func isUnmatchedAuthErr(grpcStatus *status.Status) bool { |
| 150 | return grpcStatus.Code() == codes.Unauthenticated |
| 151 | } |
no outgoing calls