问题描述
在我的应用程序中,我通过实现安全领域实现了登录模块身份验证安全性。但我正在考虑实施OAUTH2.0身份验证,一旦我获得令牌并重新验证而不是在应用程序启动时,将对用户进行身份验证。
In my app I have implemented Login module auth security by implementing security realms. But i am thinking of implementing a OAUTH2.0 authentication where user will be authenticated once I will get a token and re-validate than on app starts.
所以请指导一下实现这一目标的先决条件。我可以通过创建自定义验证模块来实现此目的吗?任何指南示例代码都会非常有用。
So please one guide what are the prerequisites to implement this. Can I achieve this by creating a custom authentication module ? Any guide sample code will be really helpful.
推荐答案
发表了一篇文章,展示如何在以下位置找到使用带有inappbrowser和Worklgiht的OAuth:
There is an article that was published that shows how to use OAuth with inappbrowser and Worklgiht using LinkedIn found at the following location:
这篇文章是让您开始使用Worklight和OAuth的绝佳示例。如果您有任何其他问题,请与我们联系
This article is a great sample to getting you started using Worklight and OAuth. Let me know if you have any further questions
这篇关于如何在IBM Worklight 6.0中实现OAUTH 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!