delta / DAuth-Android-SDK

Android Library for the Delta OAuth2 Service

Home Page:https://auth.delta.nitt.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Android Library for the Delta OAuth2 Service

https://auth.delta.nitt.edu


Languages

Language:Kotlin 96.5%Language:Java 3.5%