Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 1.9 KB

File metadata and controls

64 lines (36 loc) · 1.9 KB

##Android Resource Owner Flow Client for IdentityServer4

Assumptions | Functionality | How to run? | Contribution | Credits | Screen Shots

###Assumptions

  1. You have got AuthorizationServer(idSvrHost) and ResourceServer(SampleApi) from the official repo https://github.com/IdentityServer/IdentityServer4.Samples https://github.com/IdentityServer/IdentityServer4.Samples/tree/dev/Mvc/src

  2. You have published AuthorizationServer and working fine (I used IIS 10)

  3. You have published ResourceServer and working fine (I used IIS 10)

  4. You have Android Studio (I used Android Studio 1.5)

  5. I have used Android Emulator to test this App

###Functionality

  1. This App is based on Resource Owner Flow

  2. It is Accessing Token (from AuthorizationServer)

  3. It is Refreshing Token (from AuthorizationServer)

  4. It is Calling Service (from ResourceServer)

###How to run?

  1. Load project in Android Studio

  2. set your deployed IP of AuthorizationServer and ResourceServer in "yourpath...\IDSvr4AndroidClient\app\src\main\java\abubakar\IDSvr4ROClientDroid\constants.java"

  3. run or debug app in emulator

###Contribution You are warmly welcome to help me in making this code more better and adding more functionality of IdentityServer4. Please ping me at @leo9223

[email protected]

Muhammad Abubakar

###Credits I would really like to say thanks to Dominick Baier and Brock Allen they really help me to complete this.

###Screen Shots

####Startup screen Alt text

####Access Token Alt text

####Refresh Token Alt text

####Calling Service Alt text