All Projects → Mindinventory → LinkedInLogin

Mindinventory / LinkedInLogin

Licence: other
Simple way to implement LinkedIn social login in android app

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to LinkedInLogin

pbPlots
A plotting library available in many programming languages.
Stars: ✭ 71 (+238.1%)
Mutual labels:  easy-to-use
BPDownloadsGUI
A easy to use Downloader UI
Stars: ✭ 26 (+23.81%)
Mutual labels:  easy-to-use
Chocolater
Chocolater is simply a PowerShell code generator and it was conceived in order to facilitate the selection and installation of your favorite applications in one go.
Stars: ✭ 26 (+23.81%)
Mutual labels:  easy-to-use
ipvpn
[WIP] Easy-to-use decentralized secure overlay private network (for any device)
Stars: ✭ 24 (+14.29%)
Mutual labels:  easy-to-use
Nintendo-Switch-JoyCon-Hack
Hardwiring a push button in a JoyCon to grant bootloader access
Stars: ✭ 44 (+109.52%)
Mutual labels:  easy-to-use
vanilla-place-picker
Simple(vanilla) yet 'Do it all' place picker for your place picking needs in Android
Stars: ✭ 113 (+438.1%)
Mutual labels:  easy-to-use
bulk-email-sender
Send Templatized Dynamic Emails Automatically
Stars: ✭ 30 (+42.86%)
Mutual labels:  easy-to-use
touch-callable
Automatically generate a Web UI for Python function using type annotations.
Stars: ✭ 36 (+71.43%)
Mutual labels:  easy-to-use
SuperCodable
Codable, but with Super power made custom Codable behavior easy.
Stars: ✭ 23 (+9.52%)
Mutual labels:  easy-to-use
StringDB
StringDB is a modular, key/value pair archival DB designed to consume *tiny* amounts of ram & produce *tiny* databases.
Stars: ✭ 56 (+166.67%)
Mutual labels:  easy-to-use
Modesta
🎨 A clean CSS framework made to be dark, responsive and easy to build with.
Stars: ✭ 76 (+261.9%)
Mutual labels:  easy-to-use
Kalopsia-Bot
♠️ A Powerful Open-Source Discord,js (v13) Bot written in JavaScript with many moderation, fun, economy, music, utility commands ♠️
Stars: ✭ 60 (+185.71%)
Mutual labels:  easy-to-use
soloalert
A customizable lightweight Alert Library with Material UI and awesome features.
Stars: ✭ 18 (-14.29%)
Mutual labels:  easy-to-use
quick-net
This is a top level socket library, making servers and clients EASY!
Stars: ✭ 15 (-28.57%)
Mutual labels:  easy-to-use
pillow-cli
A CLI tool for booting modernized AngularJS projects.
Stars: ✭ 12 (-42.86%)
Mutual labels:  easy-to-use
killswitch-windows
VPN kill switch for windows.
Stars: ✭ 22 (+4.76%)
Mutual labels:  easy-to-use
teks
Easily get custom go template based outputs to your command-line tool. Like in docker/kubernetes
Stars: ✭ 41 (+95.24%)
Mutual labels:  easy-to-use
easy-real-time-face-recognition-python
No description or website provided.
Stars: ✭ 30 (+42.86%)
Mutual labels:  easy-to-use
EasyRetro
An Easy to use retrofit based network/api call extention for android
Stars: ✭ 16 (-23.81%)
Mutual labels:  easy-to-use
AlertBar
An easy alert on status bar
Stars: ✭ 64 (+204.76%)
Mutual labels:  easy-to-use

LinkedIn Login

This provides the webview to Login with LinkedIn and getting callback to your activity or fragment

Key Features

  • Integrate LinkedIn Login

Usage

  • Dependencies

    Step 1. Add the JitPack repository to your build file

    Add it in your root build.gradle at the end of repositories:

        allprojects {
    	    repositories {
    		    ...
    		    maven { url 'https://jitpack.io' }
    	    }
        }

    Step 2. Add the dependency

    Add it in your app module build.gradle:

        dependencies {
            ...
            implementation 'com.github.Mindinventory:LinkedInLogin:0.0.2'
        }
  • Implementation

    Step 1.Call MiLinkedinActivity from your activity class

        val intent = LinkedInBuilder.Builder(this)
                   .setClientId(getString(R.string.client_id)) //CLIENT_ID
                   .setClientSecret(getString(R.string.client_secret)) //CLIENT_SECRET
                   .setRedirectUri(getString(R.string.redirect_uri)) //REDIRECT_URI
                   .setStateValue(getString(R.string.state_value)) //STATE_VALUE
                   .setScopeValue(KeyUtils.BOTH_EMAIL_USERDETAILS_SCOPE_VALUE) //PASS_SCOPE_VALUE_HERE
                   //For get only Email address pass scope value -->KeyUtils.ONLY_EMAIL_SCOPE
                   //For get only user information pass scope value -->KeyUtils.ONLY_PROFILE_SCOPE
                   //For get both email and user information pass scope value -->KeyUtils.BOTH_EMAIL_USERDETAILS_SCOPE_VALUE
                   .build()
        startActivityForResult(intent, KeyUtils.REQUEST_CODE)

    Step 2.Get data from onActivityResult Method

       override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
           super.onActivityResult(requestCode, resultCode, data)
           if (resultCode == Activity.RESULT_OK && data != null) {
               when (requestCode) {
                   KeyUtils.REQUEST_CODE -> {
                       val linkedInUser =
                           data.getParcelableExtra<LinkedInUserDetails>(KeyUtils.KEY_LINKEDIN_CONTENT)
                       if (linkedInUser != null) {
                           // use linkedinUser information
                       } else {
                           //handle the error
                       }
                   }
               }
           }
           else{
               //Login failed handle error
           }
       }
    

Requirments

  • Android X
  • Min sdk >=16
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].