Mojito.Headers.auth_header
You're seeing just the function
auth_header
, go back to Mojito.Headers module for more information.
Specs
auth_header(String.t(), String.t()) :: Mojito.header()
Returns an HTTP Basic Auth header from the given username and password.
Example:
iex> Mojito.Headers.auth_header("hello", "world")
{"authorization", "Basic aGVsbG86d29ybGQ="}