Swiftpack.co - gobeyondidentity/bi-sdk-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by gobeyondidentity.
gobeyondidentity/bi-sdk-swift 2.0.0
Swift SDK for Beyond Identity Passkeys
⭐️ 1
🕓 16 weeks ago
iOS
.package(url: "https://github.com/gobeyondidentity/bi-sdk-swift.git", from: "2.0.0")


Beyond Identity

Universal Passkeys for Developers

All devices. Any protocol. Zero shared secrets.

Beyond Identity Swift SDK

License

version support

SwiftPM compatible

Cocoapods compatible

Embedded SDK

Goodbye, passwords! The Beyond Identity SDKs allow you to embed the Passwordless experience into your product. Users will not need to download the Beyond Identity Authenticator. These SDKs supports OIDC and OAuth2.

Installation

Swift Package Manager

From Xcode

  1. From the Xcode File menu, select Add Packages and add the following url:
https://github.com/gobeyondidentity/bi-sdk-swift
  1. Select a version and hit Next.
  2. Select a target matching the SDK you wish to use.

From Package.swift

  1. With Swift Package Manager, add the following dependency to your Package.swift:
dependencies: [
    .package(url: "https://github.com/gobeyondidentity/bi-sdk-swift.git", from: [version])
]
  1. Run swift build

Cocoapods

Add the pod to your Podfile:

pod 'BeyondIdentityEmbedded'

And then run:

pod install

After installing import with

import BeyondIdentityEmbedded

Usage

Check out the Developer Documentation and the SDK API Documentation for more information.

Setup

First, before calling the Embedded functions, make sure to initialize the SDK.

import BeyondIdentityEmbedded

Embedded.initialize(
    allowedDomains: [String] = ["beyondidentity.com"],
    biometricAskPrompt: String,
    logger: ((OSLogType, String) -> Void)? = nil,
    callback: @escaping(Result<Void, BISDKError>) -> Void
)

GitHub

link
Stars: 1
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2.0.0
16 weeks ago

Changed

Rename instances of Credential to Passkey Update example app to authenticate with Beyond Identity by using Invocation Type manual Nest State under Credential Nest tenantId, realmId, and identityId under appropriate objects in the Credential Update support links in the example app

Fixed

Scheme without a path is now recognized as a valid URL when binding a passkey

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics