Giter Site home page Giter Site logo

thirdpartyauth's Introduction

ThirdPartyAuth

Build Status SPM Compatible Version

ThirdPartyAuth Logo Image

About

Library for quick register or login into your application using third party accounts. It has two main modules - ThirdPartyAuth and ThirdPartyAuthUI.

  • ThirdPartyAuth module include components for auth / register user's in your app with their third party accounts. After getting response from this module you'll need to sent all necessary data to your backend-side and process them there.
  • ThirdPartyAuthUI is a set of components that you can integrate into your app, if you don't need custom UI.

ThirdPartyAuth Preview Image

Features

  • Sign In with Apple
  • Google Sign-In
  • VK ID

Prepare your app project

Before using this library you'll need to check, is your project matches all needed auth types requirements.

Detailed info you can find here.

Installation

Swift Package Manager

  • Open your Xcode project and select File > Add Packages...
  • Enter repository URL https://github.com/AdmiralBizon/ThirdPartyAuth
  • Select branch main

Usage

ThirdPartyAuth

This module has a single public interface - ThirdPartyAuthService, included all main operations.

Sign In:

ThirdPartyAuthService.sharedInstance.signIn(with: type)

Sign Out:

ThirdPartyAuthService.sharedInstance.signOut(with: type) { isSignedOut in
    // do something useful
}

Here type parameter is one of ThirdPartyAuthService current configuration supported types. For example, .google.

Detailed usage info of this module you can find here.

ThirdPartyAuthUI

It's a set of components that you can integrate into your app, if you don't need custom UI.

Library has two main UI-components:

  • Title view of third party auth section
  • Button container - main component of ThirdPartyAuthUI, included block with auth buttons of all needed auth types

Detailed usage info of this module you can find here.

Preview

    

Changelog

The full list of changes can be found in this file.

License

MIT License

thirdpartyauth's People

Contributors

admiralbizon avatar chausovsurfstudio avatar llltirlec 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.