def destroy_oauth_tokens(user):
 dop_access_token.objects.filter(user=user.id).delete()
 dop_refresh_token.objects.filter(user=user.id).delete()
 dot_access_token.objects.filter(user=user.id).delete()
 dot_refresh_token.objects.filter(user=user.id).delete()

def destroy_oauth_tokens ( user ) : dop_access_token . objects . filter ( user = user . id ) . delete ( ) dop_refresh_token . objects . filter ( user = user . id ) . delete ( ) dot_access_token . objects . filter ( user = user . id ) . delete ( ) dot_refresh_token . objects . filter ( user = user . id ) . delete ( )
destroys all oauth access and refresh tokens for the given user .