submitAdapterAuthentication not working

夙愿已清 提交于 2019-12-02 04:14:07

Your understanding of the Challenge Handler and mine are considerably different.

Although the

 ch.submitAdapterAuthentication()

is similar in structure to the standard adapter invocation methods I have never used any callbacks with it.

I work from the IBM AdapteBasedAuthentication tutorial materials

The basic idea is that your challenge handler should have two callback methods:

isCustomResponse()
handleChallenge()

You will see these functions invoked in response to your submission.

I suggest that start by looking at those methods. I can't comment on the ionic example you reference, but I have myself used angular/ionic with the authentication framework and challenge handlers. My starting point was the IBM material I reference above.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!