def redirect_access_granted(self, client_id, code):
        '''
        Redirects the user back to ``redirect_uri`` with grant code
        '''
        params = {'code': code }
        state = self.application.database.get_state(client_id,code)
        if state != None:
            params['state'] = state
        
        self.redirect_to_redirect_uri_with_params(params, client_id, code)
dataset/ETHPy150Open globocom/oauth2u/oauth2u/server/handlers/defaults.py/AuthorizationHandler.redirect_access_granted/original