
                             S 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g)z2A module that provides rapt authentication errors.c                       \ rS rSrSrSrg)ReauthError   z$Base exception for reauthentication. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       5lib/third_party/oauth2client/contrib/reauth_errors.pyr   r      s    .r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )ReauthUnattendedError   z0An exception for when reauth cannot be answered.c                 ,   > [         [        U ]  S5        g )Nz_Reauthentication challenge could not be answered because you are not in an interactive session.)superr   __init__self	__class__s    r   r   ReauthUnattendedError.__init__   s    #T3-	.r   r   r   r   r   r	   r
   r   r   __classcell__r   s   @r   r   r      s    :. .r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )ReauthFailError   z$An exception for when reauth failed.c                 ,   > [         [        U ]  S5        g )Nz"Reauthentication challenge failed.)r   r   r   r   s    r   r   ReauthFailError.__init__"   s    ot-0	2r   r   r   r   s   @r   r   r      s    .2 2r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )ReauthAPIError'   zDAn exception for when reauth API returned something we can't handle.c                 J   > [         [        U ]  SR                  U5      5        g )Nz8Reauthentication challenge failed due to API error: {0}.)r   r!   r   format)r   	api_errorr   s     r   r   ReauthAPIError.__init__*   s#    nd,FMM	r   r   r   r   s   @r   r!   r!   '   s    N r   r!   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )ReauthAccessTokenRefreshError0   z>An exception for when we can't get an access token for reauth.c                 ,   > [         [        U ]  S5        g )Nz3Failed to get an access token for reauthentication.)r   r(   r   r   s    r   r   &ReauthAccessTokenRefreshError.__init__3   s    +T;A	Cr   r   r   r   s   @r   r(   r(   0   s    HC Cr   r(   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )ReauthSamlLoginRequiredError8   zAn exception for when web login is required to complete reauth.

This applies to SAML users who are required to login through their IDP to
complete reauth.
c                 ,   > [         [        U ]  S5        g )NzLSAML login is required for the current account to complete reauthentication.)r   r-   r   r   s    r   r   %ReauthSamlLoginRequiredError.__init__?   s    *D: 	!r   r   r   r   s   @r   r-   r-   8   s    ! !r   r-   N)r
   	Exceptionr   r   r   r!   r(   r-   r   r   r   <module>r2      sT    9	) 	
.K .2k 2[ CK C
!; 
!r   