Type search words and press enter
TallyPrime now automatically fetches the distance between origin and destination pincodes, and prints it in the e-Way Bill. You no longer have to manually enter this distance. Download TallyPrime Release 5.1 now!
https://help.tallysolutions.com/docs/td9rel54/auth-lib/working_auth_lib.htm

Working of Tally Authentication Library

On invoking the mobile application, Tally Authentication Library displays a login interface. When the user submits the Tally.NET login ID and password, Tally Authentication Library validates the credentials.

Modes of Working

1. Online Mode

2. Offline Mode

Online Mode

Online mode allows the mobile application to connect and communicate with Tally.ERP 9 through Tally.NET Server . In this mode, current data can be fetched from Tally.ERP 9. Internet/data connectivity is required to operate in this mode.

The communication in online mode is shown below :

P rocess Flow

1. The mobile application sends request to Tally.NET Server to validate the user credentials. Tally.NET Server returns the session ID to Tally Authentication Library.

2. The mobile application sends request to Tally.NET Server to get the list of online companies accessible to the user. User needs to select a company.

3. The mobile application sends these requests to Tally.ERP 9 to get specific data from the selected company:

o The mobile application sends request to partner’s server.

o The partner’s server forwards the request to Tally.NET Server .

o Tally.NET Server then forwards the request to Tally.ERP 9.

o Tally.ERP 9 processes the received XML request, and sends appropriate response to Tally.NET Server .

o Tally.NET Server forward the response to partner’s server.

o The partner’s server forwards the response to the mobile application.

Offline Mode

Offline mode allows the mobile application to authenticate user locally. In this mode, data which was fetched from Tally.ERP 9 in the most recent online session, and stored by the mobile application, can be shown to the user. Internet/data connectivity is not required to operate in this mode.

The user authentication in offline mode is shown below:

Process Flow

1. Tally Authentication Library authenticates the user credentials against the locally cached values.

2. The mobile application can use the data retained locally during the most recent online session.

Note: Tally Authentication Library handles only user authentication. Mobile application developers need to design and develop the subsequent steps.

All requests from the mobile application after successful authentication, need to contain the session ID provided by Tally Authentication Library, in online mode.

Developers need to handle the data fetched/retrieved in online session to access the data in offline sessions. To use the test application, the library needs to point to the test server mentioned in Test Environment .