我开发了一个 Android 应用程序,我使用 Android 的 Spring 库。 我开始使用 spring-android-rest-template 制作一个简单的身份验证登录名/密码。 现在我必须使用“spring-for-android”库通过 OAuth 2.0 协议(protocol)进行身份验证。
我的问题是搜索一个演示使用的小应用程序,而不是 Facebook、Google、Twitter 的应用程序。 我使用 Spring Server 与我的 Android 应用进行通信。
最佳答案
Android 的 OAuth2 和 spring 示例 http://blog.logicexception.com/2012/09/android-oauth2-rest-client-with-spring.html 但我使用 scribe 来进行 OAuth 2.0 身份验证。
关于android - Oauth 2.0 Android 使用 Spring-For-Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16423284/