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