a \†¶`¶ã@sòdZddlmZmZGdd„deƒZGdd„deƒZGdd„deƒZGd d „d eƒZGd d „d eƒZGd d„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZGdd„deƒZGdd„deƒZd dd„ZdS)!z¿ oauthlib.oauth2.rfc6749.errors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error used both by OAuth 2 clients and providers to represent the spec defined error responses for all four core grant types. é)ÚFatalClientErrorÚ OAuth2Errorc@s eZdZdS)ÚFatalOpenIDClientErrorN©Ú__name__Ú __module__Ú __qualname__©r r úK/usr/lib/python3.9/site-packages/oauthlib/openid/connect/core/exceptions.pyr src@s eZdZdS)ÚOpenIDClientErrorNrr r r r r sr c@seZdZdZdZdZdS)ÚInteractionRequireda, The Authorization Server requires End-User interaction to proceed. This error MAY be returned when the prompt parameter value in the Authentication Request is none, but the Authentication Request cannot be completed without displaying a user interface for End-User interaction. Zinteraction_requiredé‘N©rrrÚ__doc__ÚerrorÚ status_coder r r r r sr c@seZdZdZdZdZdS)Ú LoginRequireda' The Authorization Server requires End-User authentication. This error MAY be returned when the prompt parameter value in the Authentication Request is none, but the Authentication Request cannot be completed without displaying a user interface for End-User authentication. Zlogin_requiredr Nrr r r r rsrc@seZdZdZdZdS)ÚAccountSelectionRequiredaÒ The End-User is REQUIRED to select a session at the Authorization Server. The End-User MAY be authenticated at the Authorization Server with different associated accounts, but the End-User did not select a session. This error MAY be returned when the prompt parameter value in the Authentication Request is none, but the Authentication Request cannot be completed without displaying a user interface to prompt for a session to use. Zaccount_selection_requiredN)rrrrrr r r r r+s rc@seZdZdZdZdZdS)ÚConsentRequireda The Authorization Server requires End-User consent. This error MAY be returned when the prompt parameter value in the Authentication Request is none, but the Authentication Request cannot be completed without displaying a user interface for End-User consent. Zconsent_requiredr Nrr r r r r9src@seZdZdZdZdZdS)ÚInvalidRequestURIze The request_uri in the Authorization Request returns an error or contains invalid data. Zinvalid_request_urizWThe request_uri in the Authorization Request returns an error or contains invalid data.N©rrrrrÚ descriptionr r r r rEsrc@seZdZdZdZdZdS)ÚInvalidRequestObjectzC The request parameter contains an invalid Request Object. Zinvalid_request_objectz9The request parameter contains an invalid Request Object.Nrr r r r rOsrc@seZdZdZdZdZdS)ÚRequestNotSupportedz? The OP does not support use of the request parameter. Zrequest_not_supportedz'The request parameter is not supported.Nrr r r r rWsrc@seZdZdZdZdZdS)ÚRequestURINotSupportedzC The OP does not support use of the request_uri parameter. Zrequest_uri_not_supportedz+The request_uri parameter is not supported.Nrr r r r r_src@seZdZdZdZdZdS)ÚRegistrationNotSupportedzD The OP does not support use of the registration parameter. Zregistration_not_supportedz,The registration parameter is not supported.Nrr r r r rgsrc@seZdZdZdZdZdZdS)ÚInvalidTokenErrora The access token provided is expired, revoked, malformed, or invalid for other reasons. The resource SHOULD respond with the HTTP 401 (Unauthorized) status code. The client MAY request a new access token and retry the protected resource request. Z invalid_tokenr zWThe access token provided is expired, revoked, malformed, or invalid for other reasons.N©rrrrrrrr r r r rosrc@seZdZdZdZdZdZdS)ÚInsufficientScopeErrora The request requires higher privileges than provided by the access token. The resource server SHOULD respond with the HTTP 403 (Forbidden) status code and MAY include the "scope" attribute with the scope necessary to access the protected resource. Zinsufficient_scopei“zIThe request requires higher privileges than provided by the access token.Nrr r r r r}srNcCshddl}ddl}| d¡| d¡| d¡dœ}| |jt|j¡D] \}}|j|krB|fi|¤Ž‚qBdS)NrZerror_descriptionZ error_uriÚstate)rZurir)ÚinspectÚsysÚgetZ getmembersÚmodulesrZisclassr)rÚparamsr r!ÚkwargsÚ_Úclsr r r Úraise_from_error‹sý r()N)rZoauthlib.oauth2.rfc6749.errorsrrrr r rrrrrrrrrrr(r r r r Ús