werkzeug.WWWAuthenticate.auth_property

static WWWAuthenticate.auth_property(name, doc=None)[source]

A static helper function for subclasses to add extra authentication system properties onto a class:

class FooAuthenticate(WWWAuthenticate):
    special_realm = auth_property('special_realm')

For more information have a look at the sourcecode to see how the regular properties (realm etc.) are implemented.