getAuthHeader

fun HttpServletRequest.getAuthHeader(): String?

Convenience accessor for the Authorization header of an HTTP request.

Receiver

The HttpServletRequest being inspected.

Return

The raw Authorization header value, or null if the header is absent.