Current File : //usr/lib/python3/dist-packages/oauthlib/openid/connect/core/__pycache__/exceptions.cpython-312.pyc |
�
&�`� � �> � d Z ddlmZmZ G d� de� Z G d� de� Z G d� de� Z G d � d
e� Z G d� de� Z G d
� de� Z G d� de� Z
G d� de� Z G d� de� Z G d� de� Z
G d� de� Z G d� de� Z G d� de� Zdd�Zy) 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 � � e Zd Zy)�FatalOpenIDClientErrorN��__name__�
__module__�__qualname__� � �I/usr/lib/python3/dist-packages/oauthlib/openid/connect/core/exceptions.pyr r � � �r r c � � e Zd Zy)�OpenIDClientErrorNr r r r
r r r r r c � � e Zd ZdZdZdZy)�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.
�interaction_required� N�r r r
�__doc__�error�status_coder r r
r r s � ��
#�E��Kr r c � � e Zd ZdZdZdZy)�
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.
�login_requiredr Nr r r r
r r s � ��
�E��Kr r c � � e Zd ZdZdZy)�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.
�account_selection_requiredN)r r r
r r r r r
r r + s � � �
)�Er r c � � e Zd ZdZdZdZy)�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.
�consent_requiredr Nr r r r
r r 9 s � ��
�E��Kr r c � � e Zd ZdZdZdZy)�InvalidRequestURIze
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.N�r r r
r r �descriptionr r r
r# r# E s � ��
"�E�4�Kr r# c � � e Zd ZdZdZdZy)�InvalidRequestObjectzC
The request parameter contains an invalid Request Object.
�invalid_request_objectz9The request parameter contains an invalid Request Object.Nr% r r r
r( r( O s � ��
%�E�M�Kr r( c � � e Zd ZdZdZdZy)�RequestNotSupportedz?
The OP does not support use of the request parameter.
�request_not_supportedz'The request parameter is not supported.Nr% r r r
r+ r+ W s � ��
$�E�;�Kr r+ c � � e Zd ZdZdZdZy)�RequestURINotSupportedzC
The OP does not support use of the request_uri parameter.
�request_uri_not_supportedz+The request_uri parameter is not supported.Nr% r r r
r. r. _ s � ��
(�E�?�Kr r. c � � e Zd ZdZdZdZy)�RegistrationNotSupportedzD
The OP does not support use of the registration parameter.
�registration_not_supportedz,The registration parameter is not supported.Nr% r r r
r1 r1 g s � ��
)�E�@�Kr r1 c � � e Zd ZdZdZdZdZy)�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.
�
invalid_tokenr zWThe access token provided is expired, revoked, malformed, or invalid for other reasons.N�r r r
r r r r&