AuthChallenge¶
-
class
gafaelfawr.handlers.util.AuthChallenge(auth_type: AuthType, realm: str, error: Optional[AuthError] = None, error_description: Optional[str] = None, scope: Optional[str] = None)¶ Bases:
objectRepresents the components of a WWW-Authenticate header.
Attributes Summary
errorThe value of the error attribute if present. error_descriptionThe value of the error description attribute if present. scopeThe value of the scope attribute if present. Methods Summary
as_header()Construct the WWW-Authenticate header for this challenge. Attributes Documentation
-
error= None¶ The value of the error attribute if present.
-
error_description= None¶ The value of the error description attribute if present.
-
scope= None¶ The value of the scope attribute if present.
Methods Documentation
-