url-basic-auth

url-basic-auth is a compiled Lisp function in `url-auth.el'.

(url-basic-auth URL &optional PROMPT OVERWRITE REALM ARGS)

Get the username/password for the specified URL.
If optional argument PROMPT is non-nil, ask for the username/password
to use for the url and its descendants. If optional third argument
OVERWRITE is non-nil, overwrite the old username/password pair if it
is found in the assoc list. If REALM is specified, use that as the realm
instead of the filename inheritance method.