Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josdem/android-authenticator

Oauth2 client credentials grant type application to send and receive secret messages
https://github.com/josdem/android-authenticator

android gradle kotlin oauth2 retrofit2

Last synced: about 2 hours ago
JSON representation

Oauth2 client credentials grant type application to send and receive secret messages

Awesome Lists containing this project

README

        

Android Authenticator
----------------------------

This project is a basic [Android](https://www.android.com/) application using [Kotlin](https://kotlinlang.org/) as language

### Requirements

* [Android Studio](https://developer.android.com/studio)
* Pixel 6 emulator API level 33 and platform version 13

### To build the project

```bash
gradle assembleDebug
```

### To format the code

```bash
gradle spotlessApply
```

### To run emulator

```bash
${androidSdk}/emulator emulator -adv ${deviceName}
```

Where:

- `${androidSdk}` is your Android SDK directory
- `${deviceName}` is device you created

### To install the app

```bash
${androidSdk}/platform-tools/adb -s emulator-5554 install ${projectHome}/app/build/outputs/apk/debug/app-debug.apk
```

Where:
- `${androidSdk}` is your Android SDK directory
- `${projectHome}` is your project directory

### To run tests

```bash
gradle test
```

**Notes:**
1. Use credentials `client:secret` for testing the app
2. Pull new messages tapping in the toolbar
3. Android authenticator uses [spring-web-resource-server](https://github.com/josdem/spring-web-resource-server) project as a backend service.