
    qiG	                         G d  de       Z G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Zy&)'c                       e Zd ZdZy)
PyJWTErrorz'
    Base class for all exceptions
    N__name__
__module____qualname____doc__     @/opt/pipecat/venv/lib/python3.12/site-packages/jwt/exceptions.pyr   r      s     	r
   r   c                       e Zd ZdZy)InvalidTokenErrorz1Base exception when ``decode()`` fails on a tokenNr   r	   r
   r   r   r   	   s    ;r
   r   c                       e Zd ZdZy)DecodeErrorzBRaised when a token cannot be decoded because it failed validationNr   r	   r
   r   r   r      s    Lr
   r   c                       e Zd ZdZy)InvalidSignatureErrorzXRaised when a token's signature doesn't match the one provided as part of
    the token.Nr   r	   r
   r   r   r      s     	r
   r   c                       e Zd ZdZy)ExpiredSignatureErrorzARaised when a token's ``exp`` claim indicates that it has expiredNr   r	   r
   r   r   r      s    Kr
   r   c                       e Zd ZdZy)InvalidAudienceErrorzZRaised when a token's ``aud`` claim does not match one of the expected
    audience valuesNr   r	   r
   r   r   r   "   s     	r
   r   c                       e Zd ZdZy)InvalidIssuerErrorzFRaised when a token's ``iss`` claim does not match the expected issuerNr   r	   r
   r   r   r   )   s    Pr
   r   c                       e Zd ZdZy)InvalidIssuedAtErrorz2Raised when a token's ``iat`` claim is non-numericNr   r	   r
   r   r   r   /   s    <r
   r   c                       e Zd ZdZy)ImmatureSignatureErrorzNRaised when a token's ``nbf`` or ``iat`` claims represent a time in the futureNr   r	   r
   r   r   r   5   s    Xr
   r   c                       e Zd ZdZy)InvalidKeyErrorz9Raised when the specified key is not in the proper formatNr   r	   r
   r   r   r   ;   s    Cr
   r   c                       e Zd ZdZy)InvalidAlgorithmErrorz>Raised when the specified algorithm is not recognized by PyJWTNr   r	   r
   r   r   r   A   s    Hr
   r   c                   ,    e Zd ZdZdeddfdZdefdZy)MissingRequiredClaimErrorzWRaised when a claim that is required to be present is not contained
    in the claimsetclaimreturnNc                     || _         y )Nr"   )selfr"   s     r   __init__z"MissingRequiredClaimError.__init__K   s	    
r
   c                 "    d| j                    dS )NzToken is missing the "z" claimr%   )r&   s    r   __str__z!MissingRequiredClaimError.__str__N   s    '

|7;;r
   )r   r   r   r   strr'   r)   r	   r
   r   r!   r!   G   s&    c d < <r
   r!   c                       e Zd Zy)
PyJWKErrorNr   r   r   r	   r
   r   r,   r,   R       r
   r,   c                       e Zd ZdZy)MissingCryptographyErrorzZRaised if the algorithm requires ``cryptography`` to be installed and it is not available.Nr   r	   r
   r   r0   r0   V   s    dr
   r0   c                       e Zd Zy)PyJWKSetErrorNr-   r	   r
   r   r2   r2   \   r.   r
   r2   c                       e Zd Zy)PyJWKClientErrorNr-   r	   r
   r   r4   r4   `   r.   r
   r4   c                       e Zd Zy)PyJWKClientConnectionErrorNr-   r	   r
   r   r6   r6   d   r.   r
   r6   c                       e Zd ZdZy)InvalidSubjectErrorz]Raised when a token's ``sub`` claim is not a string or doesn't match the expected ``subject``Nr   r	   r
   r   r8   r8   h   s    gr
   r8   c                       e Zd ZdZy)InvalidJTIErrorz3Raised when a token's ``jti`` claim is not a stringNr   r	   r
   r   r:   r:   n   s    =r
   r:   N)	Exceptionr   r   r   r   r   r   r   r   r   r   r   r!   r,   r0   r2   r4   r6   r8   r:   r	   r
   r   <module>r<      s   	 		
 		# 		K 		- 		, 		* 		, 		. 		j 		- 	< 1 <	 		z 		J 		z 		!1 		+ 		' 	r
   