def UpdateUserCredentials(client_id, client_secret, refresh_token, manager_account_id, developer_token):
 app_user = AppUser.query((AppUser.user == users.get_current_user())).fetch()[0]
 app_user.client_id = client_id
 app_user.client_secret = client_secret
 app_user.refresh_token = refresh_token
 app_user.manager_account_id = manager_account_id
 app_user.developer_token = developer_token
 app_user.put()

def UpdateUserCredentials ( client_id , client_secret , refresh_token , manager_account_id , developer_token ) : app_user = AppUser . query ( ( AppUser . user == users . get_current_user ( ) ) ) . fetch ( ) [ 0 ] app_user . client_id = client_id app_user . client_secret = client_secret app_user . refresh_token = refresh_token app_user . manager_account_id = manager_account_id app_user . developer_token = developer_token app_user . put ( )
update the credentials associated with application user .