AuthErrorChallenge#
- class gafaelfawr.models.auth.AuthErrorChallenge(auth_type, realm, error, error_description, scope=None)#
Bases:
AuthChallengeRepresents a
WWW-Authenticateheader for an error challenge.- Parameters:
Attributes Summary
The authentication type (the first part of the header).
Short error code.
Human-readable error description.
The value of the realm attribute.
Scope required to access this URL.
Methods Summary
Construct the WWW-Authenticate header for this challenge.
Attributes Documentation
- auth_type: AuthType = <dataclasses._MISSING_TYPE object>#
The authentication type (the first part of the header).
Methods Documentation
- to_header()#
Construct the WWW-Authenticate header for this challenge.
- Returns:
Contents of the WWW-Authenticate header.
- Return type:
- Overrides: