AuthChallenge¶ class gafaelfawr.models.auth.AuthChallenge(auth_type, realm)¶ Bases: object Represents a WWW-Authenticate header for a simple challenge. Parameters: auth_type (AuthType) realm (str) Methods Summary to_header() Construct the WWW-Authenticate header for this challenge. Methods Documentation to_header()¶ Construct the WWW-Authenticate header for this challenge. Returns: Contents of the WWW-Authenticate header. Return type: str