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