#NEWLINE# def _Dynamic_GetOAuthUser( self , request , response , request_id ) : #NEWLINE# #INDENT# 'Trivial implementation of UserService.GetOAuthUser().\n\n    Args:\n      request: a GetOAuthUserRequest\n      response: a GetOAuthUserResponse\n      request_id: A unique string identifying the request associated with the\n          API call.\n    ' #NEWLINE# if ( self . __email is None ) : #NEWLINE# #INDENT# raise apiproxy_errors . ApplicationError ( user_service_pb . UserServiceError . OAUTH_INVALID_REQUEST ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . __scopes is not None ) : #NEWLINE# #INDENT# if ( request . scope ( ) not in response . __scopes ) : #NEWLINE# #INDENT# raise apiproxy_errors . ApplicationError ( user_service_pb . UserServiceError . OAUTH_INVALID_TOKEN ) #NEWLINE# #UNINDENT# #UNINDENT# response . set_email ( self . __email ) #NEWLINE# response . set_user_id ( self . __user_id ) #NEWLINE# response . set_auth_domain ( self . __domain ) #NEWLINE# response . set_is_admin ( self . __is_admin ) #NEWLINE# response . set_client_id ( self . _client_id )