Coder Social home page Coder Social logo

paterry / citizen-sdk-swift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thiscitizenis/citizen-sdk-swift

0.0 1.0 0.0 83 KB

๐Ÿ“ฑ Citizen Swift SDK

Home Page: https://developers.citizen.is/

License: GNU General Public License v3.0

Swift 99.82% Objective-C 0.18%

citizen-sdk-swift's Introduction

Swift SDK for the Citizen secure login and data exchange service

More about the Citizen Service can be found here:

https://www.citizen.is/

and here:

https://developers.citizen.is/

A skeleton app using this SDK can be found here:

https://github.com/thiscitizenis/citizen-example-app-swift

It has examples of the following tasks:

  • Create a new user (CreateNewUserExample.swift).
  • Log in with a username and password (PasswordLoginExample.swift).
  • Create a key pair for fingerprint login and signing (CreateFingerprintKeyExample.swift).
  • Log in using a fingerprint signature (FingerprintLoginExample.swift).
  • Set the user's name (SetNameExample.swift).
  • Set the user's phone details (SetPhoneExample.swift).
  • Confirm the user's phone with a code sent by SMS (ConfirmPhoneExample.swift).
  • Set the user's date of birth, nationality and place of birth (SetOriginExample.swift).
  • Set the user's address (SetAddressExample.swift).
  • Get the user's details eg name, phone, DOB etc (GetPersonExample.swift).
  • Issue tokens (IssueTokenExample.swift).
  • Get token requests (GetRequestedTokensExample.swift).
  • Grant a token (GrantTokenExample.swift).
  • Decline a token (DeclineTokenExample.swift).
  • Verify a token (VerifySignedTokenExample.swift).
  • Log in in via a web browser by approving a token (GrantWebLoginTokenExample.swift).

The SDK can be added to an XCode project by building the framework and adding 'CitizenSDK.framework' to the 'embeded binaries' section in the project's 'General' tab.

Support for installing by Cocoa Pods will be added shortly.

citizen-sdk-swift's People

Contributors

jamesneville avatar

Watchers

Paul Terry 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.