GithubHelp home page GithubHelp logo

dhanaraj12 / android-social-signin-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rajkumaranugu/social-signin-android

0.0 1.0 0.0 7.89 MB

This provides easy to implement helper classes for different social (Google, Google+, Facebook, Twitter, LinkedIn) sign in features.

License: MIT License

Java 100.00%

android-social-signin-helper's Introduction

Social-Signin-Android

Build Status

This provides easy to implement helper classes for diffrent third party logins.

###This social login includes following third party logins:

  • Sign in with Google
  • Sign in with Google plus
  • Sign in with LinkedIn
  • Sign in with Facebook
  • Sign in with Twitter
  • Sign in with Instagram

###How to use it? (This is general procedure for any third party signin)

  • Create project in respective developer site and get key/credentials for authentication.
  • In inCreate() method of your login activity/fragment, initilize the helper class. Here is an example of google plus authentication. e.g. mGHelper = new GooglePlusSignInHelper(this, this);
  • Implement callback listener. e.g.
        ...```
    
  • In onClickListner() of your button call performSignIn() method. e.g.
                  mGHelper.performSignIn();
                  break;```
    
  • In onActivityResult() of your fragment/acivity call onActivityResult() of your respective helper class. e.g. mGHelper.onActivityResult(requestCode, resultCode, data);

###What if I want to implement single third party signin.

  • If you don't want to implement all the sign in functionality just copy respective helper package into you project and follow the same procedure as mentioned above.

###List of helper packages:

  • Google Signin -> googleAuthSignIn
  • Google Plus Signin -> googleSignIn
  • Facebook Signin -> facebookSignIn
  • LinedIn signin -> linkedInSiginIn
  • Twitter signin -> twitterSignIn
  • Instagram signin -> instagramSignIn

android-social-signin-helper's People

Contributors

krunal3kapadiya avatar cliffgr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.