User Tools

Site Tools


developers:peig-api

This is an old revision of the document!


Developing a mobile application with ADUCID

You will learn how to integrate your mobile application (Android, iOS) and its server part with ADUCID authentication.

There are two components prepared for you: client side API called PEIG API and server side ADUCID Web SDK.

Client side API - PEIG API

We support mobile application integration with ADUCID on Android and iOS.

The implementation is straightforward:

1. Import PEIG API into your project

2. Call PEIG API

3. Evaluate the result

Server part of a mobile application

If you are using ADUCID® Java SDK Web Platform provides basic authentication at URL it provides basic support for your application. Otherwise first see server implementation for your platform.

Basic authentication - out of the box

When using PEIG API this basic Url is called in aducidAuthentication() method during authentiocation start:

/authenticateRemote

Then predefined Url is called to get the authentication result:

/authenticateRemoteCheck

<font 10.0pt/10;;inherit;;inherit>If you’d like to write your own application either provide these two URL using ADUCID® Java SDK Web Platform (see ADUCID® Java SDK manual)</font><font 10.0pt/10;;inherit;;inherit>or</font><font 10.0pt/10;;inherit;;inherit>use</font><font 10pt/10pt;;inherit;;inherit>aducidFullOperation</font><font 10.0pt/10;;inherit;;inherit>in</font>PEIG API<font 10.0pt/10;;inherit;;inherit>(see below). You can invoke a confirm dialog, create replicas, refresh identity, etc.</font>

Creating custom server responses

PEIG API communicates with server using JSON format using these properties:

  • status: send authentication result to PEIG API
    • OK
    • ERROR / other
  • data: send data to be processed by PPEIG API
    • Uri for PEIG
    • Custom message
  • redirect: target Uri to retrieve result from
  • <font 10.0pt/10;;inherit;;inherit>exception</font><font 10.0pt/10;;inherit;;inherit>: standard ADUCID exception</font>
developers/peig-api.1477470173.txt.gz · Last modified: 2016/10/26 08:22 by 127.0.0.1