简体   繁体   English

将 Xero oauth 1.0a 迁移到 2.0 (JAVA)

[英]Migration Xero oauth 1.0a to 2.0 (JAVA)

I have an integration with Xero oauth 1.0a (backend side in JAVA), where use the sdk to created contacts, invoices, credit notes.我与 Xero oauth 1.0a(JAVA 中的后端)集成,其中使用 sdk 创建联系人、发票、贷记单。 I need migrate Xero to oauth 2.0, because is current version was depreacted.我需要将 Xero 迁移到 oauth 2.0,因为当前版本已被弃用。 Now, I use the dependencies:现在,我使用依赖项:

      <dependency>
            <groupId>com.github.xeroapi</groupId>
            <artifactId>xero-java</artifactId>
            <version>2.1.3</version>
        </dependency>
        <dependency>
            <groupId>com.github.xeroapi</groupId>
            <artifactId>xeroapi-schemas</artifactId>
            <version>1.0.0</version>
        </dependency>

What is the solution to migration to Xero in server side without user interaction?在没有用户交互的情况下在服务器端迁移到 Xero 的解决方案是什么?

I looked the posts but not understand a conclusion:我看了帖子但不明白结论:

Thanks all谢谢大家

Hi @roliveira = the migration strategy is also outlined here: https://developer.xero.com/documentation/oauth2/migrate嗨@roliveira = 这里也概述了迁移策略: https : //developer.xero.com/documentation/oauth2/migrate

It shows the strategy to exchange your Oauth1 tokens for Oauth2 tokens without requiring any users to re-authenticate.它显示了将您的 Oauth1 令牌交换为 Oauth2 令牌的策略,而无需任何用户重新进行身份验证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Spring Security OAuth 1.0a:提供已经存在的令牌 - Spring Security OAuth 1.0a: providing already existing tokens 如何在OAuth 1.0a中获取请求令牌和秘密 - How to get request token and secret in OAuth 1.0a 如何在Volley上将OAuth 1.0a与Signport一起使用(OAuth 1.0身份验证OAuthConsumer.sign()) - How to Use OAuth 1.0a with Signport on Volley (OAuth 1.0 authentication OAuthConsumer.sign()) 我的HMACSHA1摘要与Twitter对于Oauth 1.0a的不匹配 - My HMACSHA1 Digest Doesn't Match What Twitter Has for Oauth 1.0a 示例 OAuth 1.0 在 java 中的实现 - example OAuth 1.0 implementation in java Android-OAuth 1.0a回调-&gt;数据android:scheme不起作用,因为服务提供商仅允许http或https - Android - OAuth 1.0a callback -> data android:scheme does not work, because service provider only allows http or https 从Axis1.0版本迁移到Axis2.0版本 - Migration from Axis1.0 version to Axis2.0 version OAuth 1.0或2.0服务器实现?原生移动应用认证 - OAuth 1.0 or 2.0 server implementation? Native mobile application authentication Java库生成Oauth1.0a签名 - Java library to generate Oauth1.0a signature Dropbox Java API可以执行Oauth 1.0吗? - Dropbox Java api can perform Oauth 1.0?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM