Skip to content

FIBUPC/demo_fib_api_java

Repository files navigation

DEMO OAUTH JAVA

An example of using OAuth2 authentication protocol with Java and Android. This application uses Retrofit library, which is a REST client for Android and Java.

Before starting

It is recommended to read:

Requirements to develop and/or running the app

  • Android Studio
  • Retrofit 2.1.0
  • An Android device with Android 4.1 (API 16) or higher
  • Also, you have to register a private application at FIB API. You can do that here. IMPORTANT! The value of Redirect URIs must follow the schema apifib://, for example apifib://raco.

Once you have satisfied this requirements, open the Android project and go to /app/src/main/java/com.inlab.racodemoapi/Constants/OAuthParamsTemplate.java and copy its content to a new file called OAuthParams at the same package. Go to this new file and replace the clientID and clientSecret variables with your own corresponding application's values.

About

An example of using an Android application using OAuth on FIB API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages