
                         T    S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SrSr	S	 r
S
 rg)z-Credentials for use with the developer shell.    )absolute_import)division)unicode_literalsN)encodingCLOUD_SHELLDEVSHELL_CLIENT_PORTc                      [        [        R                  " [        R                  [
        S5      5      =(       d
    [        5       $ )NF)boolr   GetEncodedValueosenvironDEVSHELL_ENVHasDevshellAuth     /lib/googlecloudsdk/core/credentials/devshell.pyIsDevshellEnvironmentr      s-    	h&&rzz<G	H 
r   c                  r    [        [        R                  " [        R                  [
        S5      5      n U S:g  $ )Nr   )intr   r   r   r   r   )ports    r   r   r   $   s*    	X%%bjj2FJ	K$	r   )__doc__
__future__r   r   r   r   googlecloudsdk.core.utilr   r   r   r   r   r   r   r   <module>r      s.   " 4 &  ' 	 -- 
r   