-
Notifications
You must be signed in to change notification settings - Fork 148
PKI Client JavaScript API
Endi S. Dewata edited this page Jan 21, 2021
·
1 revision
To include PKI client library:
<script type="text/javascript" language="JavaScript" src="/pki/js/pki.js"></script>
To authenticate against PKI server:
PKI.connect({
success: function(data, textStatus, jqXHR) {
// access granted
// redirect to next page
},
error: function(jqXHR, textStatus, errorThrown) {
// access denied
var exception = jqXHR.responseJSON;
// display exception.Message
}
});
|
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |