This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
integration-api:example [2018/08/21 15:07] tjotov |
integration-api:example [2019/08/01 09:59] tjotov removed |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Integration API - Example ====== | ====== Web Integration API - Example ====== | ||
- | < | + | < |
- | < | + | |
<html xmlns=" | <html xmlns=" | ||
+ | |||
< | < | ||
<script type=" | <script type=" | ||
<script type=" | <script type=" | ||
- | |||
<script type=" | <script type=" | ||
Line 17: | Line 17: | ||
aducid.setProxyUrl("/ | aducid.setProxyUrl("/ | ||
aducid.setRedirectUrl("/ | aducid.setRedirectUrl("/ | ||
+ | aucid.setRedirectUrl("/ | ||
+ | aducid.setErrorPage("/ | ||
+ | | ||
aducid.processResult = function(result) { | aducid.processResult = function(result) { | ||
- | if (result.status == "OK" || result.status == "ALF") { | + | if (result.status == " |
alert(" | alert(" | ||
location.href = result.redirect; | location.href = result.redirect; | ||
Line 39: | Line 42: | ||
aducid.showQRHint = function(param) { | aducid.showQRHint = function(param) { | ||
- | $('# | + | $('# |
} | } | ||
aducid.showRunningHint = function(param) { | aducid.showRunningHint = function(param) { | ||
- | $('# | + | $('# |
}; | }; | ||