
    '{g                     @   S r SSKJrJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      rSS jrg) 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                       \ rS rSrSrg)FatalOpenIDClientError    N__name__
__module____qualname____firstlineno____static_attributes__r       I/usr/lib/python3/dist-packages/oauthlib/openid/connect/core/exceptions.pyr   r          r   r   c                       \ rS rSrSrg)OpenIDClientError   r   Nr	   r   r   r   r   r      r   r   r   c                        \ rS rSrSrSrSrSrg)InteractionRequired   a  
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.
interaction_required  r   Nr
   r   r   r   __doc__errorstatus_coder   r   r   r   r   r      s     #EKr   r   c                        \ rS rSrSrSrSrSrg)LoginRequired   a  
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.
login_requiredr   r   Nr   r   r   r   r   r      s     EKr   r   c                       \ rS rSrSrSrSrg)AccountSelectionRequired+   a  
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.
account_selection_requiredr   N)r
   r   r   r   r   r   r   r   r   r   r#   r#   +   s    	 )Er   r#   c                        \ rS rSrSrSrSrSrg)ConsentRequired9   a  
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.
consent_requiredr   r   Nr   r   r   r   r'   r'   9   s     EKr   r'   c                        \ rS rSrSrSrSrSrg)InvalidRequestURIE   zY
The request_uri in the Authorization Request returns an error or
contains invalid data.
invalid_request_urizWThe request_uri in the Authorization Request returns an error or contains invalid data.r   Nr
   r   r   r   r   r   descriptionr   r   r   r   r+   r+   E   s     "E4Kr   r+   c                        \ rS rSrSrSrSrSrg)InvalidRequestObjectO   z;
The request parameter contains an invalid Request Object.
invalid_request_objectz9The request parameter contains an invalid Request Object.r   Nr.   r   r   r   r1   r1   O   s     %EMKr   r1   c                        \ rS rSrSrSrSrSrg)RequestNotSupportedW   z7
The OP does not support use of the request parameter.
request_not_supportedz'The request parameter is not supported.r   Nr.   r   r   r   r5   r5   W   s     $E;Kr   r5   c                        \ rS rSrSrSrSrSrg)RequestURINotSupported_   z;
The OP does not support use of the request_uri parameter.
request_uri_not_supportedz+The request_uri parameter is not supported.r   Nr.   r   r   r   r9   r9   _   s     (E?Kr   r9   c                        \ rS rSrSrSrSrSrg)RegistrationNotSupportedg   z<
The OP does not support use of the registration parameter.
registration_not_supportedz,The registration parameter is not supported.r   Nr.   r   r   r   r=   r=   g   s     )E@Kr   r=   c                   $    \ rS rSrSrSrSrSrSrg)InvalidTokenErroro   z
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.
invalid_tokenr   zWThe access token provided is expired, revoked, malformed, or invalid for other reasons.r   N	r
   r   r   r   r   r   r   r/   r   r   r   r   rA   rA   o   s     EK3Kr   rA   c                   $    \ rS rSrSrSrSrSrSrg)InsufficientScopeError}   z
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.
insufficient_scopei  zIThe request requires higher privileges than provided by the access token.r   NrD   r   r   r   rF   rF   }   s     !EK'Kr   rF   Nc                    SS K nSS KnUR                  S5      UR                  S5      UR                  S5      S.nUR                  UR                  [
           UR                  5       H  u  pVUR                  U :X  d  M  U" S0 UD6e   g )Nr   error_description	error_uristate)r/   urirL   r   )inspectsysget
getmembersmodulesr
   isclassr   )r   paramsrN   rO   kwargs_clss          r   raise_from_errorrX      su    zz"56zz+&G$F
 $$S[[%:GOOL99-- Mr   )N)r   oauthlib.oauth2.rfc6749.errorsr   r   r   r   r   r   r#   r'   r+   r1   r5   r9   r=   rA   rF   rX   r   r   r   <module>rZ      s    I	- 		 		+ 		% 	)0 )	' 	4) 4N, N<+ <@. @A0 A4 4([ (
 r   