Skip to content

delta/DAuth-Android-SDK

Repository files navigation

DAuth SDK for Native Android Clients

This library is used for authenticating users and fetching authorization code / access token which will be used by android apps for auto login and saving DAuth accounts in Android Account Manager

forthebadge

Integrating Dauth SDK into your app

  1. Add reference to the project's build.gradle file:
 implementation ""
  1. Register at http://auth.delta.nitt.edu/ to get client id , client secret, redirectURI
  2. Now add these credentials to your dauth-client-creds.json like this :
{
  "client_id": "CLIENT_ID",
  "redirect_uri": "REDIRECT_URI",
  "client_secret": "CLIENT_SECRET"
}

Sample Code

Checkout the sample project

Contributing

  • Fork and Clone the repository and add delta/DAuth-Android-SDK as remote upstream.
  • Create new branch for features.
  • Strictly follow the commit conventions mentioned here.
  • Pull latest changes from upstream before pushing your code or creating a new feature branch.
  • Send a PR to delta/DAuth-Android-SDK for review and merging