authHeader

Configures how to retrieve an HTTP authentication header.

By default, Bearer authentication parses the Authorization header.

Report a problem

Parameters

block

returns an authentication header for the call, or null when no header is available.