Skip to content

Sample app for integrating Cybavo Auth App SDK for iOS

Notifications You must be signed in to change notification settings

evacircle/auth-sdk_ios_example

 
 

Repository files navigation

CYBAVO Auth SDK for iOS - Sample

Sample app for integrating Cybavo Authenticator SDK, https://www.cybavo.com/

image image image

CYBAVO

A group of cybersecurity experts making crypto-currency wallet secure and usable for your daily business operation.

We provide VAULT, wallet, ledger service for cryptocurrency. Trusted by many exchanges and stable-coin ico teams, please feel free to contact us when your company or business need any help in cryptocurrency operation.

Run the demo app

  1. In ~/.ssh/ create a file called config with contents based on this:
    Host bitbucket.org
    HostName bitbucket.org
    User git
    IdentityFile ~/.ssh/{{your private key}}
    
  2. Edit Podfile, Replace source 'https://bitbucket.org/cybavo/Specs.git' with
  • https://bitbucket.org/cybavo/Specs_501.git if using Xcode 10.2.1, Xcode 10.3
  • https://bitbucket.org/cybavo/Specs_512.git if using >= Xcode 11.2
  1. Run pod install to install all dependencies.
  2. Open CYBAVOAuth.xcworkspace in xcode.
  3. Edit Settings.bundle/Root.plistSERVICE_ENDPOINT to your Auth Service endpoont. (or edit it later in Settings)
  4. Edit Settings.bundle/Root.plistSERVICE_API_CODE to fill in your API Code. (or edit it later in Settings)
  5. Now you can run it on your device!

Initialization in your app

Create Authenticator by following code.

    let shared = Authenticator.create(endPoint:<Your endpoint url>,apiCode: <Your API code>, apnsSandbox: <true if is apns sandbox>)

Push notification

To enable push notification feature, setup project to register APNS. Refer to official document for details

Features

  • Pair/unpair device with service
  • Fetch two-factor authentication actions from backend
  • Respond to two-factor anthentication actions, with or without PIN code
  • Receive push notifications for two-factor authentication
  • Secure PIN code input view

About

Sample app for integrating Cybavo Auth App SDK for iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 98.4%
  • Ruby 1.6%