android - Oauth 2.0 Android 使用 Spring-For-Android

标签 android spring oauth-2.0

我开发了一个 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/

相关文章:

android - 如何在android中创建自定义下拉菜单

java - TabHost/TabWidget View 未在父级中居中

java - Spring JDBC - 将对象转换为 Blob 时出现 ClassCastException

java - 在 Spring Boot 应用程序中动态更改日志记录级别

java - 如何从 RestTemplate postForLocation 获取 STRING 响应?

python - 如何从备用源创建 Google API OAuth Credentials 对象

angularjs - 哪个客户端框架(angularjs + oauth2)与identityserver3一起使用

java - Firebase 离线后持续写入失败

c# - 具有 Multi-Tenancy 数据访问的 Web API 身份验证

java - 安卓 : Dealing with multiple font files - Correct way