copy over revoke token method from internal code kit files