#NEWLINE# def _check_access( self , req , environ , start_response ) : #NEWLINE# #INDENT# if req . app . private_token : #NEWLINE# #INDENT# sent_private_token = req . GET . get ( 'private_token' , None ) #NEWLINE# if ( not ( req . app . private_token == sent_private_token ) ) : #NEWLINE# #INDENT# return exc . HTTPUnauthorized ( ) ( environ , start_response )