AuthChallenge

class gafaelfawr.models.auth.AuthChallenge(auth_type, realm)

Bases: object

Represents a WWW-Authenticate header for a simple challenge.

Parameters:

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