werkzeug.parse_www_authenticate_header¶
-
werkzeug.
parse_www_authenticate_header
(value, on_update=None)[source]¶ Parse an HTTP WWW-Authenticate header into a
WWWAuthenticate
object.Parameters: - value – a WWW-Authenticate header to parse.
- on_update – an optional callable that is called every time a value
on the
WWWAuthenticate
object is changed.
Returns: a
WWWAuthenticate
object.